function public function Broken::getCdnThemes

8.x-3.x Broken.php public Broken::getCdnThemes($version = NULL)

Retrieves the themes supported by the CDN Provider.

Parameters

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

Return value

\Drupal\bootstrap\Plugin\Provider\CdnAssets[] An associative array of CDN assets, similar to what is returned in \Drupal\bootstrap\Plugin\Provider\ProviderBase::getCdnAssets(), but keyed by individual theme names.

Overrides ProviderBase::getCdnThemes

Class

Broken
Broken CDN Provider instance.

Namespace

Drupal\bootstrap\Plugin\Provider

Source src/Plugin/Provider/Broken.php (line 57)

public function getCdnThemes($version = NULL) {
  return new CdnAssets();
}