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
seven_form_media_library_add_form_upload_alter function core/themes/seven/seven.theme Implements hook_form_FORM_ID_alter().
seven_preprocess_fieldset__media_library_widget function core/themes/seven/seven.theme @todo Remove this when https://www.drupal.org/project/drupal/issues/2999549
lands.
seven_preprocess_item_list__media_library_add_form_media_list function core/themes/seven/seven.theme Implements hook_preprocess_item_list__media_library_add_form_media_list().
seven_preprocess_media_library_item__small function core/themes/seven/seven.theme Implements hook_preprocess_media_library_item__small().
seven_preprocess_media_library_item__widget function core/themes/seven/seven.theme Implements hook_preprocess_media_library_item__widget().
seven_preprocess_views_view_fields__media_library function core/themes/seven/seven.theme Implements hook_preprocess_views_view_fields().
StableLibraryOverrideTest class core/tests/Drupal/KernelTests/Core/Theme/StableLibraryOverrideTest.php Tests Stable's library overrides.
StableLibraryOverrideTest.php file core/tests/Drupal/KernelTests/Core/Theme/StableLibraryOverrideTest.php
StableLibraryOverrideTest::$allModules property core/tests/Drupal/KernelTests/Core/Theme/StableLibraryOverrideTest.php A list of all core modules.
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::$libraryDiscovery property core/tests/Drupal/KernelTests/Core/Theme/StableLibraryOverrideTest.php The library discovery service.
StableLibraryOverrideTest::$modules property core/tests/Drupal/KernelTests/Core/Theme/StableLibraryOverrideTest.php Modules to enable.
StableLibraryOverrideTest::$themeInitialization property core/tests/Drupal/KernelTests/Core/Theme/StableLibraryOverrideTest.php The theme initialization.
StableLibraryOverrideTest::$themeManager property core/tests/Drupal/KernelTests/Core/Theme/StableLibraryOverrideTest.php The theme manager.
StableLibraryOverrideTest::getAllLibraries function core/tests/Drupal/KernelTests/Core/Theme/StableLibraryOverrideTest.php Gets all libraries for core and all installed modules.
StableLibraryOverrideTest::removeVendorAssets function core/tests/Drupal/KernelTests/Core/Theme/StableLibraryOverrideTest.php Removes all vendor libraries and assets from the library definitions.
StableLibraryOverrideTest::setUp function core/tests/Drupal/KernelTests/Core/Theme/StableLibraryOverrideTest.php
StableLibraryOverrideTest::testStableLibraryOverrides function core/tests/Drupal/KernelTests/Core/Theme/StableLibraryOverrideTest.php Ensures that Stable overrides all relevant core library assets.
stable_library_info_alter function core/themes/stable/stable.theme Implements hook_library_info_alter().
system_post_update_classy_message_library function core/modules/system/system.post_update.php Clear caches to ensure Classy's message library is always added.
template_preprocess_media_library_item function core/modules/media_library/media_library.module Prepares variables for a selected media item.
template_preprocess_media_library_wrapper function core/modules/media_library/media_library.module Prepares variables for the media library modal dialog.
TestLibraryDiscoveryParser class core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Wraps the tested class to mock the external dependencies.
TestLibraryDiscoveryParser::$paths property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
TestLibraryDiscoveryParser::$validUris property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
TestLibraryDiscoveryParser::drupalGetPath function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Wraps drupal_get_path().
TestLibraryDiscoveryParser::fileValidUri function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Wraps \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::isValidUri().
TestLibraryDiscoveryParser::setFileValidUri function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
TestLibraryDiscoveryParser::setPaths function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
test_theme_library_info_alter function core/modules/system/tests/themes/test_theme/test_theme.theme Implements hook_library_info_alter().
ThemeNotUsingClassyLibraryTest class core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php Tests that themes do not depend on Classy libraries.
ThemeNotUsingClassyLibraryTest.php file core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php
ThemeNotUsingClassyLibraryTest::$classyLibraries property core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php Classy's libraries.
ThemeNotUsingClassyLibraryTest::$classyLibrariesExtend property core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php Libraries that Classy extends.
ThemeNotUsingClassyLibraryTest::$libraryDiscovery property core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php The library discovery service.
ThemeNotUsingClassyLibraryTest::$themeHandler property core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php The theme handler.
ThemeNotUsingClassyLibraryTest::$themeInitialization property core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php The theme initialization.
ThemeNotUsingClassyLibraryTest::confirmMatchingAssets function core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php Confirms that the assets of a copied Classy library match the original's.
ThemeNotUsingClassyLibraryTest::confirmNoClassyAssets function core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php Confirms a library is not loading any Classy assets.
ThemeNotUsingClassyLibraryTest::providerTestThemeAccountsForClassyExtensions function core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php Data provider.
ThemeNotUsingClassyLibraryTest::providerTestThemeNotUsingClassyLibraries function core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php Data provider.
ThemeNotUsingClassyLibraryTest::setUp function core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php
ThemeNotUsingClassyLibraryTest::testThemeAccountsForClassyExtensions function core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php Checks for theme-specific equivalents of all Classy library-extends.
ThemeNotUsingClassyLibraryTest::testThemeNotUsingClassyLibraries function core/tests/Drupal/KernelTests/Core/Theme/ThemeNotUsingClassyLibraryTest.php Ensures that a theme is decoupled from Classy libraries.
TranslationsTest::testMediaLibraryTranslations function core/modules/media_library/tests/src/FunctionalJavascript/TranslationsTest.php Tests the media library widget shows all media only once.
TwigExtension::attachLibrary function core/lib/Drupal/Core/Template/TwigExtension.php Attaches an asset library to the template, and hence to the response.
TwigThemeTestController::attachLibraryRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Renders for testing attach_library functions in a Twig template.
twig_theme_test.attach_library.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.attach_library.html.twig {{ attach_library('core/ckeditor') }}
views-view--media-library.html.twig file core/themes/claro/templates/media-library/views-view--media-library.html.twig Theme override for the media_library view template.
views-view--media_library.html.twig file core/themes/seven/templates/media-library/views-view--media_library.html.twig Theme override for the media_library view template.

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