function LibraryDiscovery::getLibrariesByExtension
Same name in other branches
- 9 core/lib/Drupal/Core/Asset/LibraryDiscovery.php \Drupal\Core\Asset\LibraryDiscovery::getLibrariesByExtension()
- 8.9.x core/lib/Drupal/Core/Asset/LibraryDiscovery.php \Drupal\Core\Asset\LibraryDiscovery::getLibrariesByExtension()
- 10 core/lib/Drupal/Core/Asset/LibraryDiscovery.php \Drupal\Core\Asset\LibraryDiscovery::getLibrariesByExtension()
Overrides LibraryDiscoveryInterface::getLibrariesByExtension
File
-
core/
lib/ Drupal/ Core/ Asset/ LibraryDiscovery.php, line 37
Class
- LibraryDiscovery
- Discovers available asset libraries in Drupal.
Namespace
Drupal\Core\AssetCode
public function getLibrariesByExtension($extension) {
return $this->collector
->get($extension);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.