Search for library

  1. Search 7.x for library
  2. Search 9.5.x for library
  3. Search 10.3.x for library
  4. Search 11.x for library
  5. Other projects
Title Object type File name Summary
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::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.
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::$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::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::drupalGetPath function core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Wraps drupal_get_path().
LibraryDiscoveryParser::fileValidUri function core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Wraps \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::isValidUri().
LibraryDiscoveryParser::isValidUri function core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Determines if the supplied string is a valid URI.
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 Contains \Drupal\Tests\Core\Asset\LibraryDiscoveryParserTest.
LibraryDiscoveryParserTest::$cache property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php The mocked cache backend.
LibraryDiscoveryParserTest::$librariesDirectoryFileFinder property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php The mocked libraries directory file finder.
LibraryDiscoveryParserTest::$libraryDiscoveryParser property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php The tested library discovery parser service.
LibraryDiscoveryParserTest::$lock property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php The mocked lock backend.
LibraryDiscoveryParserTest::$moduleHandler property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php The mocked module handler.
LibraryDiscoveryParserTest::$streamWrapperManager property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php The mocked stream wrapper manager.
LibraryDiscoveryParserTest::$themeManager property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php The mocked theme manager.
LibraryDiscoveryParserTest::providerTestCssAssert function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Data provider for testing bad CSS declarations.
LibraryDiscoveryParserTest::setUp function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
LibraryDiscoveryParserTest::testBuildByExtensionSimple function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests that basic functionality works for getLibraryByName.
LibraryDiscoveryParserTest::testBuildByExtensionWithMissingInformation function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests that an exception is thrown with only the version property specified.
LibraryDiscoveryParserTest::testBuildByExtensionWithMissingLibraryFile function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests that a module with a missing library file results in FALSE.
LibraryDiscoveryParserTest::testBuildByExtensionWithOnlyDependencies function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests that no exception is thrown when only dependencies are specified.
LibraryDiscoveryParserTest::testBuildByExtensionWithTheme function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests that a theme can be used instead of a module.
LibraryDiscoveryParserTest::testCssAssert function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Verify an assertion fails if CSS declarations have non-existent categories.
LibraryDiscoveryParserTest::testDefaultCssWeights function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Ensures that CSS weights are taken into account properly.

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