You are here

public function AssetContainer::__construct in Mini site 8

AssetContainer constructor.

Parameters

null|array $assets: (optinal) Array of assets.

File

src/AssetContainer.php, line 27

Class

AssetContainer
Class Asset.

Namespace

Drupal\minisite

Code

public function __construct($assets = NULL) {
  if ($assets) {
    $this->assets = $assets;
  }
}