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
AddFormBase::$libraryUiBuilder property core/modules/media_library/src/Form/AddFormBase.php The media library UI builder.
AddFormBase::buildMediaLibraryUi function core/modules/media_library/src/Form/AddFormBase.php Build the render array of the media library UI.
AddFormBase::getMediaLibraryState function core/modules/media_library/src/Form/AddFormBase.php Get the media library state from the form state.
AddFormBase::updateLibrary function core/modules/media_library/src/Form/AddFormBase.php AJAX callback to send the new media item(s) to the media library.
AssetOptimizationTest::setInvalidLibrary function core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTest.php Replaces the 'include' entry in the given URL with an invalid value.
AssetResolver::$libraryDependencyResolver property core/lib/Drupal/Core/Asset/AssetResolver.php The library dependency resolver.
AssetResolver::$libraryDiscovery property core/lib/Drupal/Core/Asset/AssetResolver.php The library discovery service.
AssetResolverTest::$libraryDependencyResolver property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The mocked library dependency resolver.
AssetResolverTest::$libraryDiscovery property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The mocked library discovery service.
AttachedAssetsTest::testDynamicLibrary function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Dynamically defines an asset library and alters it.
AttachedAssetsTest::testLibraryAlter function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Adds a JavaScript library to the page and alters it.
AttachedAssetsTest::testLibraryNameConflicts function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests that multiple modules can implement libraries with the same name.
AttachedAssetsTest::testLibraryUnknown function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests non-existing libraries.
big_pipe_bypass_js_library_info_alter function core/modules/big_pipe/tests/modules/big_pipe_bypass_js/big_pipe_bypass_js.module Implements hook_library_info_alter().
BlockContentUpdateTest::testBlockLibraryPermissionsUpdate function core/modules/block_content/tests/src/Functional/Update/BlockContentUpdateTest.php Tests the permissions are updated for users with "administer blocks".
BlockContentUpdateTest::testCustomBlockLibraryPathOverridden function core/modules/block_content/tests/src/Functional/Update/BlockContentUpdateTest.php Tests the block_content view isn't updated if the path has been modified.
BlockContentUpdateTest::testMoveCustomBlockLibraryToContent function core/modules/block_content/tests/src/Functional/Update/BlockContentUpdateTest.php Tests moving the content block library to Content.
BlockLibraryController class core/modules/block/src/Controller/BlockLibraryController.php Provides a list of block plugins to be added to the layout.
BlockLibraryController.php file core/modules/block/src/Controller/BlockLibraryController.php
BlockLibraryController::$blockManager property core/modules/block/src/Controller/BlockLibraryController.php The block manager.
BlockLibraryController::$contextRepository property core/modules/block/src/Controller/BlockLibraryController.php The context repository.
BlockLibraryController::$localActionManager property core/modules/block/src/Controller/BlockLibraryController.php The local action manager.
BlockLibraryController::$routeMatch property core/modules/block/src/Controller/BlockLibraryController.php The route match.
BlockLibraryController::buildLocalActions function core/modules/block/src/Controller/BlockLibraryController.php Builds the local actions for this listing.
BlockLibraryController::create function core/modules/block/src/Controller/BlockLibraryController.php Instantiates a new instance of the implementing class using autowiring.
BlockLibraryController::listBlocks function core/modules/block/src/Controller/BlockLibraryController.php Shows a list of blocks that can be added to a theme's layout.
BlockLibraryController::__construct function core/modules/block/src/Controller/BlockLibraryController.php Constructs a BlockLibraryController object.
BlockTest::testAddBlockFromLibraryWithWeight function core/modules/block/tests/src/Functional/BlockTest.php Tests adding a block from the library page with a weight query string.
BubbleableMetadataTest::testMergeAttachmentsLibraryMerging function core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php Tests library asset merging.
CKEditor5PluginDefinition::getAdminLibrary function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Gets the asset library this plugin needs to be loaded on the admin UI.
CKEditor5PluginDefinition::getLibrary function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Gets the asset library this plugin needs to be loaded.
CKEditor5PluginDefinition::hasAdminLibrary function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Whether this plugin has an asset library to load on the admin UI.
CKEditor5PluginDefinition::hasLibrary function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Whether this plugin has an asset library to load.
ckeditor5_library_info_alter function core/modules/ckeditor5/ckeditor5.module Implements hook_library_info_alter().
claro_form_media_library_add_form_alter function core/themes/claro/claro.theme Implements hook_form_BASE_FORM_ID_alter().
claro_form_media_library_add_form_oembed_alter function core/themes/claro/claro.theme Implements hook_form_FORM_ID_alter().
claro_form_media_library_add_form_upload_alter function core/themes/claro/claro.theme Implements hook_form_FORM_ID_alter().
claro_preprocess_fieldset__media_library_widget function core/themes/claro/claro.theme @todo Remove this when https://www.drupal.org/project/drupal/issues/2999549
lands.
claro_preprocess_item_list__media_library_add_form_media_list function core/themes/claro/claro.theme Implements hook_preprocess_item_list__media_library_add_form_media_list().
claro_preprocess_links__media_library_menu function core/themes/claro/claro.theme Implements hook_preprocess_links__media_library_menu().
claro_preprocess_media_library_item__small function core/themes/claro/claro.theme Implements hook_preprocess_media_library_item__small().
claro_preprocess_media_library_item__widget function core/themes/claro/claro.theme Implements hook_preprocess_media_library_item__widget().
claro_preprocess_views_view_fields__media_library function core/themes/claro/claro.theme Implements hook_preprocess_views_view_fields().
claro_system_module_invoked_library_info_alter function core/themes/claro/claro.theme Called by system.module via its hook_library_info_alter().
common_test_library_info_alter function core/modules/system/tests/modules/common_test/common_test.module Implements hook_library_info_alter().
common_test_library_info_build function core/modules/system/tests/modules/common_test/common_test.module Implements hook_library_info_build().
Component::$library property core/lib/Drupal/Core/Plugin/Component.php The library definition to be attached with the component.
Component::$library property core/modules/sdc/src/Plugin/Component.php The library definition to be attached with the component.
Component::getLibraryName function core/lib/Drupal/Core/Plugin/Component.php The auto-computed library name.
Component::getLibraryName function core/modules/sdc/src/Plugin/Component.php The auto-computed library name.

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