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 11.x for library
  5. Other projects
Title Object type File name Summary
MediaLibraryWidget::form function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Creates a form element for a field.
MediaLibraryWidget::formElement function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Returns the form for a single field widget.
MediaLibraryWidget::getAllowedMediaTypeIdsSorted function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Gets the enabled media type IDs sorted by weight.
MediaLibraryWidget::getFieldState function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Gets the field state for the widget.
MediaLibraryWidget::getNewMediaItems function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Gets newly selected media items.
MediaLibraryWidget::getNoMediaTypesAvailableMessage function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Gets the message to display when there are no allowed media types.
MediaLibraryWidget::isApplicable function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Returns if the widget can be used for the provided field.
MediaLibraryWidget::massageFormValues function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Massages the form values into the format expected for field values.
MediaLibraryWidget::openMediaLibrary function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php AJAX callback to open the library modal.
MediaLibraryWidget::preRenderWidget function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Prepares the widget's render element for rendering.
MediaLibraryWidget::removeItem function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Submit callback for remove buttons.
MediaLibraryWidget::setFieldState function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Sets the field state for the widget.
MediaLibraryWidget::setMediaTypesValue function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Value callback to optimize the way the media type weights are stored.
MediaLibraryWidget::settingsForm function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Returns a form to configure settings for the widget.
MediaLibraryWidget::settingsSummary function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Returns a short summary for the current widget settings.
MediaLibraryWidget::trustedCallbacks function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Lists the trusted callbacks provided by the implementing class.
MediaLibraryWidget::updateWidget function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php AJAX callback to update the widget when the selection changes.
MediaLibraryWidget::validateItems function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Validates that newly selected items can be added to the widget.
MediaLibraryWidget::validateRequired function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Validates whether the widget is required and contains values.
MediaLibraryWidget::__construct function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Constructs a MediaLibraryWidget widget.
MediaLibraryWidgetTest class core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php Tests the media library widget.
MediaLibraryWidgetTest.php file core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php
MediaLibraryWidgetTest::$adminUser property core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php An admin user.
MediaLibraryWidgetTest::$baseField property core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php The base field definition.
MediaLibraryWidgetTest::$modules property core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php Modules to install.
MediaLibraryWidgetTest::assertMediaLibraryStateAccess function core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php Assert if the given user has access to the given state.
MediaLibraryWidgetTest::buildWidgetForm function core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php Build the media library widget form.
MediaLibraryWidgetTest::setUp function core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php
MediaLibraryWidgetTest::testRevisionableWidgetAccess function core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php Test the media library widget access with a revisionable entity type.
MediaLibraryWidgetTest::testWidgetAccess function core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php Test the media library widget access.
media_library.api.php file core/modules/media_library/media_library.api.php Documentation related to Media Library.
media_library.info.yml file core/modules/media_library/media_library.info.yml core/modules/media_library/media_library.info.yml
media_library.install file core/modules/media_library/media_library.install Install, update and uninstall functions for the media_library module.
media_library.libraries.yml file core/modules/media_library/media_library.libraries.yml core/modules/media_library/media_library.libraries.yml
media_library.links.action.yml file core/modules/media_library/media_library.links.action.yml core/modules/media_library/media_library.links.action.yml
media_library.links.menu.yml file core/modules/media_library/media_library.links.menu.yml core/modules/media_library/media_library.links.menu.yml
media_library.links.task.yml file core/modules/media_library/media_library.links.task.yml core/modules/media_library/media_library.links.task.yml
media_library.module file core/modules/media_library/media_library.module Contains hook implementations for the media_library module.
media_library.opener.editor service core/modules/media_library/media_library.services.yml Drupal\media_library\MediaLibraryEditorOpener
media_library.opener.field_widget service core/modules/media_library/media_library.services.yml Drupal\media_library\MediaLibraryFieldWidgetOpener
media_library.opener_resolver service core/modules/media_library/media_library.services.yml Drupal\media_library\OpenerResolver
media_library.post_update.php file core/modules/media_library/media_library.post_update.php Post update functions for Media Library.
media_library.route_subscriber service core/modules/media_library/media_library.services.yml Drupal\media_library\Routing\RouteSubscriber
media_library.routing.yml file core/modules/media_library/media_library.routing.yml core/modules/media_library/media_library.routing.yml
media_library.schema.yml file core/modules/media_library/config/schema/media_library.schema.yml core/modules/media_library/config/schema/media_library.schema.yml
media_library.services.yml file core/modules/media_library/media_library.services.yml core/modules/media_library/media_library.services.yml
media_library.settings.yml file core/modules/media_library/config/install/media_library.settings.yml core/modules/media_library/config/install/media_library.settings.yml
media_library.ui_builder service core/modules/media_library/media_library.services.yml Drupal\media_library\MediaLibraryUiBuilder
media_library.views.inc file core/modules/media_library/media_library.views.inc Contains Views integration for the media_library module.
media_library_field_ui_preconfigured_options_alter function core/modules/media_library/media_library.module Implements hook_field_ui_preconfigured_options_alter().

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