function LibraryDiscoveryCollector::getLibrariesByExtension
Overrides LibraryDiscoveryInterface::getLibrariesByExtension
1 call to LibraryDiscoveryCollector::getLibrariesByExtension()
- LibraryDiscoveryCollector::getLibraryByName in core/
lib/ Drupal/ Core/ Asset/ LibraryDiscoveryCollector.php - Gets a single library defined by an extension by name.
File
-
core/
lib/ Drupal/ Core/ Asset/ LibraryDiscoveryCollector.php, line 165
Class
- LibraryDiscoveryCollector
- A CacheCollector implementation for building library extension info.
Namespace
Drupal\Core\AssetCode
public function getLibrariesByExtension($extension) {
return $this->get($extension);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.