function AttachedAssets::setAlreadyLoadedLibraries
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Asset/AttachedAssets.php \Drupal\Core\Asset\AttachedAssets::setAlreadyLoadedLibraries()
- 10 core/lib/Drupal/Core/Asset/AttachedAssets.php \Drupal\Core\Asset\AttachedAssets::setAlreadyLoadedLibraries()
- 11.x core/lib/Drupal/Core/Asset/AttachedAssets.php \Drupal\Core\Asset\AttachedAssets::setAlreadyLoadedLibraries()
Overrides AttachedAssetsInterface::setAlreadyLoadedLibraries
File
-
core/
lib/ Drupal/ Core/ Asset/ AttachedAssets.php, line 89
Class
- AttachedAssets
- The default attached assets collection.
Namespace
Drupal\Core\AssetCode
public function setAlreadyLoadedLibraries(array $libraries) {
$this->alreadyLoadedLibraries = $libraries;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.