The attached assets collection for the current response.
Allows for storage of:
\Drupal\Core\Asset\AssetResolverInterface
Name | Modifiers | Type | Description |
---|---|---|---|
AttachedAssetsInterface::createFromRenderArray | public static | function | Creates an AttachedAssetsInterface object from a render array. |
AttachedAssetsInterface::getAlreadyLoadedLibraries | public | function | Returns the set of already loaded asset libraries. |
AttachedAssetsInterface::getLibraries | public | function | Returns the asset libraries attached to the current response. |
AttachedAssetsInterface::getSettings | public | function | Returns the settings attached to the current response. |
AttachedAssetsInterface::setAlreadyLoadedLibraries | public | function | Sets the asset libraries that the current request marked as already loaded. |
AttachedAssetsInterface::setLibraries | public | function | Sets the asset libraries attached to the current response. |
AttachedAssetsInterface::setSettings | public | function | Sets the JavaScript settings that are attached to the current response. |
© 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!AttachedAssetsInterface.php/interface/AttachedAssetsInterface/8.1.x