Search for libraries

  1. Search 7.x for libraries
  2. Search 9.5.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
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::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.
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
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
menu_ui.libraries.yml file core/modules/menu_ui/menu_ui.libraries.yml core/modules/menu_ui/menu_ui.libraries.yml
migrate_drupal_ui.libraries.yml file core/modules/migrate_drupal_ui/migrate_drupal_ui.libraries.yml core/modules/migrate_drupal_ui/migrate_drupal_ui.libraries.yml
node.libraries.yml file core/modules/node/node.libraries.yml core/modules/node/node.libraries.yml
path.libraries.yml file core/modules/path/path.libraries.yml core/modules/path/path.libraries.yml
quickedit.libraries.yml file core/modules/quickedit/quickedit.libraries.yml core/modules/quickedit/quickedit.libraries.yml
ResolvedLibraryDefinitionsFilesMatchTest::$librariesToSkip property core/tests/Drupal/KernelTests/Core/Asset/ResolvedLibraryDefinitionsFilesMatchTest.php A list of libraries to skip checking, in the format extension/library_name.
ResolvedLibraryDefinitionsFilesMatchTest::getAllLibraries function core/tests/Drupal/KernelTests/Core/Asset/ResolvedLibraryDefinitionsFilesMatchTest.php Gets all libraries for core and all installed modules.
responsive_image.libraries.yml file core/modules/responsive_image/responsive_image.libraries.yml core/modules/responsive_image/responsive_image.libraries.yml
settings_tray.libraries.yml file core/modules/settings_tray/settings_tray.libraries.yml core/modules/settings_tray/settings_tray.libraries.yml
settings_tray_test_css.libraries.yml file core/modules/settings_tray/tests/modules/settings_tray_test_css/settings_tray_test_css.libraries.yml core/modules/settings_tray/tests/modules/settings_tray_test_css/settings_tray_test_css.libraries.yml
seven.libraries.yml file core/themes/seven/seven.libraries.yml core/themes/seven/seven.libraries.yml
shortcut.libraries.yml file core/modules/shortcut/shortcut.libraries.yml core/modules/shortcut/shortcut.libraries.yml
simpletest.libraries.yml file core/modules/simpletest/simpletest.libraries.yml core/modules/simpletest/simpletest.libraries.yml
stable.libraries.yml file core/themes/stable/stable.libraries.yml core/themes/stable/stable.libraries.yml
StableLibraryOverrideTest::$librariesToSkip property core/tests/Drupal/KernelTests/Core/Theme/StableLibraryOverrideTest.php A list of libraries to skip checking, in the format extension/library_name.
StableLibraryOverrideTest::getAllLibraries function core/tests/Drupal/KernelTests/Core/Theme/StableLibraryOverrideTest.php Gets all libraries for core and all installed modules.

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