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; }
Please login to continue.