Search for library

  1. Search 7.x for library
  2. Search 9.5.x for library
  3. Search 8.9.x for library
  4. Search 10.3.x for library
  5. Other projects
Title Object type File name Summary
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 install.
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 library deprecation support.
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.
LibraryDiscoveryIntegrationTest::testLibrariesOverridesMultiple function core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php Tests libraries overrides with multiple parent themes.
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.
LibraryDiscoveryInterface::getLibraryByName function core/lib/Drupal/Core/Asset/LibraryDiscoveryInterface.php Gets a single library defined by an extension by name.
LibraryDiscoveryParser class core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Parses library files to get extension data.
LibraryDiscoveryParser.php file core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php
LibraryDiscoveryParser::$componentPluginManager property core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php The component plugin manager.
LibraryDiscoveryParser::$extensionPathResolver property core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php The extension path resolver.
LibraryDiscoveryParser::$fileCache property core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php The file cache.
LibraryDiscoveryParser::$librariesDirectoryFileFinder property core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php The libraries directory file finder.
LibraryDiscoveryParser::$moduleHandler property core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php The module handler.
LibraryDiscoveryParser::$root property core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php The app root.
LibraryDiscoveryParser::$streamWrapperManager property core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php The stream wrapper manager.
LibraryDiscoveryParser::$themeManager property core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php The theme manager.
LibraryDiscoveryParser::applyLibrariesMovedOverrides function core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Apply overrides to files that have moved.
LibraryDiscoveryParser::applyLibrariesOverride function core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Apply libraries overrides specified for the current active theme.
LibraryDiscoveryParser::buildByExtension function core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Parses and builds up all the libraries information of an extension.
LibraryDiscoveryParser::isValidUri function core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Determines if the supplied string is a valid URI.
LibraryDiscoveryParser::librariesForComponents function core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Builds the dynamic library definitions for single-directory components.
LibraryDiscoveryParser::parseLibraryInfo function core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Parses a given library file and allows modules and themes to alter it.
LibraryDiscoveryParser::resolveThemeAssetPath function core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Ensures that a full path is returned for an overriding theme asset.
LibraryDiscoveryParser::setOverrideValue function core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Overrides the specified library asset.
LibraryDiscoveryParser::validateCssLibrary function core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Validates CSS library structure.
LibraryDiscoveryParser::__construct function core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Constructs a new LibraryDiscoveryParser instance.
LibraryDiscoveryParserTest class core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php @coversDefaultClass \Drupal\Core\Asset\LibraryDiscoveryParser
@group Asset
LibraryDiscoveryParserTest.php file core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
LibraryDiscoveryParserTest::$activeTheme property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php The mocked active theme.

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