public function GlobAsset::load

Loads the asset into memory and applies load filters.

You may provide an additional filter to apply during load.

Parameters

FilterInterface $additionalFilter An additional filter:

Overrides AssetCollection::load

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/GlobAsset.php, line 52

Class

GlobAsset
A collection of assets loaded by glob.

Namespace

Assetic\Asset

Code

public function load(FilterInterface $additionalFilter = null) {
  if (!$this->initialized) {
    $this
      ->initialize();
  }
  parent::load($additionalFilter);
}