LibraryDiscovery

Discovers available asset libraries in Drupal.

Hierarchy

File

core/lib/Drupal/Core/Asset/LibraryDiscovery.php, line 10

Namespace

Drupal\Core\Asset

Members

Name Modifiers Type Description
LibraryDiscovery::$collector protected property The library discovery cache collector.
LibraryDiscovery::$libraryDefinitions protected property The final library definitions, statically cached.
LibraryDiscovery::clearCachedDefinitions public function Clears static and persistent library definition caches. Overrides LibraryDiscoveryInterface::clearCachedDefinitions
LibraryDiscovery::getLibrariesByExtension public function Gets all libraries defined by an extension. Overrides LibraryDiscoveryInterface::getLibrariesByExtension
LibraryDiscovery::getLibraryByName public function Gets a single library defined by an extension by name. Overrides LibraryDiscoveryInterface::getLibraryByName
LibraryDiscovery::__construct public function Constructs a new LibraryDiscovery instance.
doc_Drupal
2016-10-29 09:23:06
Comments
Leave a Comment

Please login to continue.