function public function Broken::getCdnAssets

8.x-3.x Broken.php public Broken::getCdnAssets($version = NULL, $theme = NULL)

Retrieves the assets from the CDN, if any.

Parameters

string $version: Optional. The version of assets to return. If not set, the setting stored in the active theme will be used.

string $theme: Optional. A specific set of themed assets to return, if any. If not set, the setting stored in the active theme will be used.

Return value

\Drupal\bootstrap\Plugin\Provider\CdnAssets A CdnAssets object.

Overrides ProviderBase::getCdnAssets

Class

Broken
Broken CDN Provider instance.

Namespace

Drupal\bootstrap\Plugin\Provider

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

public function getCdnAssets($version = NULL, $theme = NULL) {
  return new CdnAssets();
}