public function StringAsset::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 AssetInterface::load

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/StringAsset.php, line 41

Class

StringAsset
Represents a string asset.

Namespace

Assetic\Asset

Code

public function load(FilterInterface $additionalFilter = null) {
  $this
    ->doLoad($this->content, $additionalFilter);
}