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