Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
LibraryDiscovery::$collector property core/lib/Drupal/Core/Asset/LibraryDiscovery.php The library discovery cache collector.
LibraryDiscovery::$libraryDefinitions property core/lib/Drupal/Core/Asset/LibraryDiscovery.php The final library definitions, statically cached.
LibraryDiscovery::clearCachedDefinitions function core/lib/Drupal/Core/Asset/LibraryDiscovery.php Clears static and persistent library definition caches.
LibraryDiscovery::getLibrariesByExtension function core/lib/Drupal/Core/Asset/LibraryDiscovery.php Gets all libraries defined by an extension.
LibraryDiscovery::getLibraryByName function core/lib/Drupal/Core/Asset/LibraryDiscovery.php Gets a single library defined by an extension by name.
LibraryDiscovery::__construct function core/lib/Drupal/Core/Asset/LibraryDiscovery.php Constructs a new LibraryDiscovery instance.
LibraryDiscoveryCollector class core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php A CacheCollector implementation for building library extension info.
LibraryDiscoveryCollector.php file core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php
LibraryDiscoveryCollector::$discoveryParser property core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php The library discovery parser.
LibraryDiscoveryCollector::$themeManager property core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php The theme manager.
LibraryDiscoveryCollector::applyLibrariesExtend function core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php Applies the libraries-extend specified by the active theme.
LibraryDiscoveryCollector::getCid function core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php Gets the cache ID.
LibraryDiscoveryCollector::getLibraryDefinitions function core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php Returns the library definitions for a given extension.
LibraryDiscoveryCollector::reset function core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php Resets the local cache.
LibraryDiscoveryCollector::resolveCacheMiss function core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php Resolves a cache miss.
LibraryDiscoveryCollector::__construct function core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php Constructs a CacheCollector object.
LibraryDiscoveryCollectorTest class core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php @coversDefaultClass \Drupal\Core\Asset\LibraryDiscoveryCollector[[api-linebreak]]
@group Asset
LibraryDiscoveryCollectorTest.php file core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php
LibraryDiscoveryCollectorTest::$activeTheme property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php
LibraryDiscoveryCollectorTest::$cache property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php The mock cache backend.
LibraryDiscoveryCollectorTest::$libraryData property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php Test library data.
LibraryDiscoveryCollectorTest::$libraryDiscoveryCollector property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php The library discovery collector under test.
LibraryDiscoveryCollectorTest::$libraryDiscoveryParser property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php The mock library discovery parser.
LibraryDiscoveryCollectorTest::$lock property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php The mock lock backend.
LibraryDiscoveryCollectorTest::$themeManager property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php The mocked theme manager.
LibraryDiscoveryCollectorTest::setUp function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php
LibraryDiscoveryCollectorTest::testDestruct function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php Tests the destruct method.
LibraryDiscoveryCollectorTest::testLibrariesExtend function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php Tests library with an extend.
LibraryDiscoveryCollectorTest::testLibrariesExtendDeprecated function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php Tests a deprecated library with an extend.
LibraryDiscoveryCollectorTest::testResolveCacheMiss function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php Tests the resolve cache miss function.
LibraryDiscoveryIntegrationTest class core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php Tests the library discovery and library discovery parser.
LibraryDiscoveryIntegrationTest.php file core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php
LibraryDiscoveryIntegrationTest::$libraryDiscovery property core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php The library discovery service.
LibraryDiscoveryIntegrationTest::$modules property core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php Modules to enable.
LibraryDiscoveryIntegrationTest::activateTheme function core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php Activates a specified theme.
LibraryDiscoveryIntegrationTest::assertAssetInLibrary function core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php Asserts that the specified asset is in the given library.
LibraryDiscoveryIntegrationTest::assertNoAssetInLibrary function core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php Asserts that the specified asset is not in the given library.
LibraryDiscoveryIntegrationTest::setUp function core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php
LibraryDiscoveryIntegrationTest::testBaseThemeLibrariesOverrideInSubTheme function core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php Tests that base theme libraries-override still apply in sub themes.
LibraryDiscoveryIntegrationTest::testDeprecatedLibrary function core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php Test deprecated libraries.
LibraryDiscoveryIntegrationTest::testHookLibraryInfoByTheme function core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php Tests that hook_library_info is invoked and the cache is cleared.
LibraryDiscoveryIntegrationTest::testLibrariesExtend function core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php Tests libraries-extend.
LibraryDiscoveryIntegrationTest::testLibrariesOverride function core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php Tests that libraries-override are applied to library definitions.
LibraryDiscoveryIntegrationTest::testLibrariesOverrideDrupalSettings function core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php Tests libraries-override on drupalSettings.
LibraryDiscoveryIntegrationTest::testLibrariesOverrideMalformedAsset function core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php Tests libraries-override on malformed assets.
LibraryDiscoveryIntegrationTest::testLibrariesOverrideOtherAssetLibraryNames function core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php Tests library assets with other ways for specifying paths.
LibraryDiscoveryInterface interface core/lib/Drupal/Core/Asset/LibraryDiscoveryInterface.php Discovers information for asset (CSS/JavaScript) libraries.
LibraryDiscoveryInterface.php file core/lib/Drupal/Core/Asset/LibraryDiscoveryInterface.php
LibraryDiscoveryInterface::clearCachedDefinitions function core/lib/Drupal/Core/Asset/LibraryDiscoveryInterface.php Clears static and persistent library definition caches.
LibraryDiscoveryInterface::getLibrariesByExtension function core/lib/Drupal/Core/Asset/LibraryDiscoveryInterface.php Gets all libraries defined by an extension.

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