function protected function Custom::getCdnThemesCacheData

8.x-3.x Custom.php protected Custom::getCdnThemesCacheData($version = NULL)

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

Parameters

string $version: Optional. A specific version to use. If not set, the currently set CDN version of the active theme will be used.

Return value

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

Overrides ProviderBase::getCdnThemesCacheData

Class

Custom
The "custom" CDN Provider plugin.

Namespace

Drupal\bootstrap\Plugin\Provider

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

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