Discovers information for asset (CSS/JavaScript) libraries.
Library information is statically cached. Libraries are keyed by extension for several reasons:
Name | Modifiers | Type | Description |
---|---|---|---|
LibraryDiscoveryInterface::clearCachedDefinitions | public | function | Clears static and persistent library definition caches. |
LibraryDiscoveryInterface::getLibrariesByExtension | public | function | Gets all libraries defined by an extension. |
LibraryDiscoveryInterface::getLibraryByName | public | function | Gets a single library defined by an extension by name. |
© 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!LibraryDiscoveryInterface.php/interface/LibraryDiscoveryInterface/8.1.x