function protected function ProviderBase::discoverCdnThemes

8.x-3.x ProviderBase.php protected ProviderBase::discoverCdnThemes($version)

Discovers the themes supported by the CDN Provider.

CDN Providers should sub-class this method to make requests and/or process any necessary data.

Parameters

string $version: A specific version of themes to retrieve.

Return value

array|false An associative array of theme data, similar to what is returned in \Drupal\bootstrap\Plugin\Provider\ProviderBase::discoverCdnAssets(), but keyed by the theme name.

Class

ProviderBase
CDN Provider base class.

Namespace

Drupal\bootstrap\Plugin\Provider

Source src/Plugin/Provider/ProviderBase.php (line 243)

protected function discoverCdnThemes($version) {
  return [];
}