function public function CdnAssets::appendAssets

8.x-3.x CdnAssets.php public CdnAssets::appendAssets(array $assets)

Appends an array of CdnAsset objects to the list.

Parameters

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

Class

CdnAssets
Class CdnAssets.

Namespace

Drupal\bootstrap\Plugin\Provider

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

public function appendAssets(array $assets) {
  foreach ($assets as $asset) {
    $this->append($asset);
  }
}