Search for Id
| Title | Object type | File name | Summary |
|---|---|---|---|
| MediaLibraryFieldWidgetOpener::checkAccess | function | core/ |
Checks media library access. |
| MediaLibraryFieldWidgetOpener::getSelectionResponse | function | core/ |
Generates a response after selecting media items in the media library. |
| MediaLibraryFieldWidgetOpener::__construct | function | core/ |
MediaLibraryFieldWidgetOpener constructor. |
| MediaLibraryInceptionWidget | class | core/ |
Plugin implementation of the 'media_library_inception_widget' widget. |
| MediaLibraryInceptionWidget.php | file | core/ |
|
| MediaLibraryInceptionWidget::elementValidate | function | core/ |
|
| MediaLibraryInceptionWidget::formElement | function | core/ |
Returns the form for a single field widget. |
| MediaLibrarySelectForm::form_element_row_id | function | core/ |
Return a media entity ID from a views result row. |
| MediaLibrarySelectForm::updateWidget | function | core/ |
Submit handler for the media library select form. |
| MediaLibrarySelectForm::viewsFormValidate | function | core/ |
|
| MediaLibraryServiceProvider | class | core/ |
Service provider for media library services. |
| MediaLibraryServiceProvider.php | file | core/ |
|
| MediaLibraryServiceProvider::register | function | core/ |
Registers services to the container. |
| MediaLibraryState::getAllowedTypeIds | function | core/ |
Returns the media type IDs which can be selected. |
| MediaLibraryState::getOpenerId | function | core/ |
Returns the ID of the media library opener service. |
| MediaLibraryState::getSelectedTypeId | function | core/ |
Returns the selected media type. |
| MediaLibraryState::isValidHash | function | core/ |
Validate a hash for the state object. |
| MediaLibraryState::validateRequiredParameters | function | core/ |
Validates the required parameters for a new MediaLibraryState object. |
| MediaLibraryStateTest::providerCreate | function | core/ |
Data provider for testCreate(). |
| MediaLibraryStateTest::providerFromRequest | function | core/ |
Data provider for testFromRequest(). |
| MediaLibraryTestBase::assertMediaLibraryGrid | function | core/ |
Asserts that the grid display of the widget view is visible. |
| MediaLibraryTestBase::switchToMediaLibraryGrid | function | core/ |
Switches to the grid display of the widget view. |
| MediaLibraryTestHooks::fieldWidgetInfoAlter | function | core/ |
Implements hook_field_widget_info_alter(). |
| MediaLibraryWidget | class | core/ |
Plugin implementation of the 'media_library_widget' widget. |
| MediaLibraryWidget.php | file | core/ |
|
| MediaLibraryWidget::$currentUser | property | core/ |
The current active user. |
| MediaLibraryWidget::$entityTypeManager | property | core/ |
Entity type manager service. |
| MediaLibraryWidget::$moduleHandler | property | core/ |
The module handler. |
| MediaLibraryWidget::addItems | function | core/ |
Updates the field state and flags the form for rebuild. |
| MediaLibraryWidget::create | function | core/ |
Instantiates a new instance of the implementing class using autowiring. |
| MediaLibraryWidget::defaultSettings | function | core/ |
Defines the default settings for this plugin. |
| MediaLibraryWidget::errorElement | function | core/ |
Assigns a field-level validation error to the right widget sub-element. |
| MediaLibraryWidget::extractFormValues | function | core/ |
Extracts field values from submitted form values. |
| 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. |
Pagination
- Previous page
- Page 110
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.