The default attached assets collection.
Name | Modifiers | Type | Description |
---|---|---|---|
AttachedAssets::$alreadyLoadedLibraries | protected | property | The set of asset libraries that the client has already loaded. |
AttachedAssets::$libraries | public | property | The (ordered) list of asset libraries attached to the current response. |
AttachedAssets::$settings | public | property | The JavaScript settings attached to the current response. |
AttachedAssets::createFromRenderArray | public static | function | Creates an AttachedAssetsInterface object from a render array. Overrides AttachedAssetsInterface::createFromRenderArray |
AttachedAssets::getAlreadyLoadedLibraries | public | function | Returns the set of already loaded asset libraries. Overrides AttachedAssetsInterface::getAlreadyLoadedLibraries |
AttachedAssets::getLibraries | public | function | Returns the asset libraries attached to the current response. Overrides AttachedAssetsInterface::getLibraries |
AttachedAssets::getSettings | public | function | Returns the settings attached to the current response. Overrides AttachedAssetsInterface::getSettings |
AttachedAssets::setAlreadyLoadedLibraries | public | function | Sets the asset libraries that the current request marked as already loaded. Overrides AttachedAssetsInterface::setAlreadyLoadedLibraries |
AttachedAssets::setLibraries | public | function | Sets the asset libraries attached to the current response. Overrides AttachedAssetsInterface::setLibraries |
AttachedAssets::setSettings | public | function | Sets the JavaScript settings that are attached to the current response. Overrides AttachedAssetsInterface::setSettings |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Asset!AttachedAssets.php/class/AttachedAssets/8.1.x