Search for libraries

  1. Search 7.x for libraries
  2. Search 8.9.x for libraries
  3. Search 10.3.x for libraries
  4. Search 11.x for libraries
  5. Other projects
Title Object type File name Summary
language.libraries.yml file core/modules/language/language.libraries.yml core/modules/language/language.libraries.yml
Language::getLibraries function core/modules/ckeditor/src/Plugin/CKEditorPlugin/Language.php Returns a list of libraries this plugin requires.
layout_builder.libraries.yml file core/modules/layout_builder/layout_builder.libraries.yml core/modules/layout_builder/layout_builder.libraries.yml
layout_discovery.libraries.yml file core/modules/layout_discovery/layout_discovery.libraries.yml core/modules/layout_discovery/layout_discovery.libraries.yml
layout_test.libraries.yml file core/modules/system/tests/modules/layout_test/layout_test.libraries.yml core/modules/system/tests/modules/layout_test/layout_test.libraries.yml
LibrariesDirectoryFileFinder class core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php Finds files that are located in the supported 'libraries' directories.
LibrariesDirectoryFileFinder.php file core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php
LibrariesDirectoryFileFinder::$installProfile property core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php The install profile.
LibrariesDirectoryFileFinder::$profileExtensionList property core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php The profile extension list.
LibrariesDirectoryFileFinder::$root property core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php The app root.
LibrariesDirectoryFileFinder::$sitePath property core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php The site path.
LibrariesDirectoryFileFinder::find function core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php Finds files that are located in the supported 'libraries' directories.
LibrariesDirectoryFileFinder::__construct function core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php Constructs a new LibrariesDirectoryFileFinder instance.
LibrariesDirectoryFileFinderTest class core/tests/Drupal/Tests/Core/Asset/LibrariesDirectoryFileFinderTest.php @coversDefaultClass \Drupal\Core\Asset\LibrariesDirectoryFileFinder
@group Asset
LibrariesDirectoryFileFinderTest.php file core/tests/Drupal/Tests/Core/Asset/LibrariesDirectoryFileFinderTest.php
LibrariesDirectoryFileFinderTest::testFind function core/tests/Drupal/Tests/Core/Asset/LibrariesDirectoryFileFinderTest.php @covers ::find
library.libraries_directory_file_finder service core/core.services.yml Drupal\Core\Asset\LibrariesDirectoryFileFinder
LibraryDependencyResolver::$librariesDependencies property core/lib/Drupal/Core/Asset/LibraryDependencyResolver.php The libraries dependencies.
LibraryDependencyResolver::getLibrariesWithDependencies function core/lib/Drupal/Core/Asset/LibraryDependencyResolver.php Gets the given libraries with their dependencies.
LibraryDependencyResolverInterface::getLibrariesWithDependencies function core/lib/Drupal/Core/Asset/LibraryDependencyResolverInterface.php Gets the given libraries with their dependencies.
LibraryDependencyResolverTest::providerTestGetLibrariesWithDependencies function core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php Provides test data for ::testGetLibrariesWithDependencies().
LibraryDependencyResolverTest::testGetLibrariesWithDependencies function core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php @covers ::getLibrariesWithDependencies
LibraryDiscovery::getLibrariesByExtension function core/lib/Drupal/Core/Asset/LibraryDiscovery.php Gets all libraries defined by an extension.
LibraryDiscoveryCollector::applyLibrariesExtend function core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php Applies the libraries-extend specified by the active theme.
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.
LibraryDiscoveryIntegrationTest::testBaseThemeLibrariesOverrideInSubTheme function core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php Tests that base theme libraries-override still apply in sub themes.
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::getLibrariesByExtension function core/lib/Drupal/Core/Asset/LibraryDiscoveryInterface.php Gets all libraries defined by an extension.
LibraryDiscoveryParser::$librariesDirectoryFileFinder property core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php The libraries directory file finder.
LibraryDiscoveryParser::applyLibrariesOverride function core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Apply libraries overrides specified for the current active theme.
LibraryDiscoveryParserTest::$librariesDirectoryFileFinder property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php The mocked libraries directory file finder.
LibraryDiscoveryParserTest::testExternalLibraries function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests that the version property of external libraries is handled.
LibraryDiscoveryParserTest::testInvalidLibrariesFile function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests that an exception is thrown when a libraries file couldn't be parsed.
LibraryDiscoveryParserTest::testNonCoreLibrariesFound function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php @covers ::buildByExtension
LibraryDiscoveryParserTest::testNonCoreLibrariesNotFound function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php @covers ::buildByExtension
LibraryDiscoveryTest::testGetLibrariesByExtension function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php @covers ::getLibrariesByExtension
licenses.libraries.yml file core/tests/Drupal/Tests/Core/Asset/library_test_files/licenses.libraries.yml core/tests/Drupal/Tests/Core/Asset/library_test_files/licenses.libraries.yml
licenses_missing_information.libraries.yml file core/tests/Drupal/Tests/Core/Asset/library_test_files/licenses_missing_information.libraries.yml core/tests/Drupal/Tests/Core/Asset/library_test_files/licenses_missing_information.libraries.yml
Llama::getLibraries function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/Llama.php Returns a list of libraries this plugin requires.
locale.libraries.yml file core/modules/locale/locale.libraries.yml core/modules/locale/locale.libraries.yml
many_assets_test.libraries.yml file core/modules/system/tests/modules/many_assets_test/many_assets_test.libraries.yml core/modules/system/tests/modules/many_assets_test/many_assets_test.libraries.yml
media.libraries.yml file core/modules/media/media.libraries.yml core/modules/media/media.libraries.yml
media_library.libraries.yml file core/modules/media_library/media_library.libraries.yml core/modules/media_library/media_library.libraries.yml
media_test_oembed.libraries.yml file core/modules/media/tests/modules/media_test_oembed/media_test_oembed.libraries.yml core/modules/media/tests/modules/media_test_oembed/media_test_oembed.libraries.yml
menu_ui.libraries.yml file core/modules/menu_ui/menu_ui.libraries.yml core/modules/menu_ui/menu_ui.libraries.yml

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