function protected function Custom::getCdnAssetsCacheData

8.x-3.x Custom.php protected Custom::getCdnAssetsCacheData($version = NULL, $theme = NULL)

Retrieves the data used to create a hash for CDN Assets.

Parameters

string $version: Optional. A specific version to use.

string $theme: Optional. A specific theme to use.

Return value

array An array of components that will be serialized and hashed.

Overrides ProviderBase::getCdnAssetsCacheData

Class

Custom
The "custom" CDN Provider plugin.

Namespace

Drupal\bootstrap\Plugin\Provider

Source src/Plugin/Provider/Custom.php (line 62)

protected function getCdnAssetsCacheData($version = NULL, $theme = NULL) {
  return parent::getCdnAssetsCacheData($version, $theme) + ['urls' => $this->getUrls()];
}