AttachedAssets::setAlreadyLoadedLibraries

public AttachedAssets::setAlreadyLoadedLibraries(array $libraries)

Sets the asset libraries that the current request marked as already loaded.

Parameters

string[] $libraries: The set of already loaded libraries.

Return value

$this

Overrides AttachedAssetsInterface::setAlreadyLoadedLibraries

File

core/lib/Drupal/Core/Asset/AttachedAssets.php, line 89

Class

AttachedAssets
The default attached assets collection.

Namespace

Drupal\Core\Asset

Code

public function setAlreadyLoadedLibraries(array $libraries) {
  $this->alreadyLoadedLibraries = $libraries;
  return $this;
}
doc_Drupal
2016-10-29 08:44:56
Comments
Leave a Comment

Please login to continue.