function public function CdnAssets::__construct

8.x-3.x CdnAssets.php public CdnAssets::__construct(array $assets = [])

CdnAssets constructor.

Parameters

\Drupal\bootstrap\Plugin\Provider\CdnAsset[] $assets: Optional. An array of CdnAsset objects to set.

Class

CdnAssets
Class CdnAssets.

Namespace

Drupal\bootstrap\Plugin\Provider

Source src/Plugin/Provider/CdnAssets.php (line 40)

public function __construct(array $assets = []) {
  $this->appendAssets($assets);
}