Search for widget
- Search 7.x for widget
- Search 8.9.x for widget
- Search 10.3.x for widget
- Search 11.x for widget
- Search main for widget
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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. |
| 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. |
| MediaSourceTestBase::hideMediaTypeFieldWidget | function | core/ |
Hides a widget in the default form display config. |
| MediaUiFunctionalTest::providerTestMediaReferenceWidget | function | core/ |
Data provider for testMediaReferenceWidget(). |
| MediaUiFunctionalTest::testMediaReferenceWidget | function | core/ |
Tests the default autocomplete widgets for media reference fields. |
| media_field_widget_complete_form_alter | function | core/ |
Implements hook_field_widget_complete_form_alter(). |
| media_field_widget_single_element_form_alter | function | core/ |
Implements hook_field_widget_single_element_form_alter(). |
| media_library.opener.field_widget | service | core/ |
Drupal\media_library\MediaLibraryFieldWidgetOpener |
| media_library_test_field_widget_info_alter | function | core/ |
Implements hook_field_widget_info_alter(). |
| media_library_test_widget.info.yml | file | core/ |
core/modules/media_library/tests/modules/media_library_test_widget/media_library_test_widget.info.yml |
| media_library_test_widget.schema.yml | file | core/ |
core/modules/media_library/tests/modules/media_library_test_widget/config/schema/media_library_test_widget.schema.yml |
| MenuUiNodeTest::testMenuNodeFormWidget | function | core/ |
Tests creating, editing, deleting menu links via node form widget. |
| MenuUiNodeTest::testMultilingualMenuNodeFormWidget | function | core/ |
Testing correct loading and saving of menu links via node form widget in a multilingual environment. |
| MigrateFieldInstanceWidgetSettingsTest | class | core/ |
Migrate field widget settings. |
| MigrateFieldInstanceWidgetSettingsTest.php | file | core/ |
|
| MigrateFieldInstanceWidgetSettingsTest::$modules | property | core/ |
Modules to enable. |
| MigrateFieldInstanceWidgetSettingsTest::assertComponent | function | core/ |
Asserts various aspects of a particular component of a form display. |
| MigrateFieldInstanceWidgetSettingsTest::assertEntity | function | core/ |
Asserts various aspects of a form display entity. |
| MigrateFieldInstanceWidgetSettingsTest::setUp | function | core/ |
|
| MigrateFieldInstanceWidgetSettingsTest::testWidgetSettings | function | core/ |
Tests that migrated view modes can be loaded using D8 APIs. |
| MigrateFieldInterface::alterFieldWidgetMigration | function | core/ |
Apply any custom processing to the field widget migration. |
Pagination
- Previous page
- Page 8
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.