AttachedAssets

The default attached assets collection.

Hierarchy

File

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

Namespace

Drupal\Core\Asset

Members

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
doc_Drupal
2016-10-29 08:44:55
Comments
Leave a Comment

Please login to continue.