Search for getLibraryByName

  1. Search 7.x for getLibraryByName
  2. Search 9.5.x for getLibraryByName
  3. Search 8.9.x for getLibraryByName
  4. Search 11.x for getLibraryByName
  5. Other projects
Title Object type File name Summary
LibraryDiscovery::getLibraryByName function core/lib/Drupal/Core/Asset/LibraryDiscovery.php
LibraryDiscoveryInterface::getLibraryByName function core/lib/Drupal/Core/Asset/LibraryDiscoveryInterface.php Gets a single library defined by an extension by name.
LibraryDiscoveryTest::testGetLibraryByName function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php Tests getting a library by name.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.