Search for widget
- Search 7.x for widget
- Search 9.5.x for widget
- Search 8.9.x for widget
- Search 11.x for widget
- Search main for widget
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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 install. |
| 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. |
| MediaUiReferenceWidgetTest | class | core/ |
Ensures that media UI works correctly. |
| MediaUiReferenceWidgetTest.php | file | core/ |
|
| MediaUiReferenceWidgetTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| MediaUiReferenceWidgetTest::$modules | property | core/ |
Modules to install. |
| MediaUiReferenceWidgetTest::assertHelpLink | function | core/ |
Asserts whether a given link is present. |
| MediaUiReferenceWidgetTest::assertHelpTexts | function | core/ |
Asserts that the given texts are present exactly once. |
| MediaUiReferenceWidgetTest::assertNoHelpLink | function | core/ |
Asserts that a given link is not present. |
| MediaUiReferenceWidgetTest::assertNoHelpTexts | function | core/ |
Asserts that none of the given texts are present. |
| MediaUiReferenceWidgetTest::providerTestMediaReferenceWidget | function | core/ |
Data provider for testMediaReferenceWidget(). |
| MediaUiReferenceWidgetTest::setUp | function | core/ |
|
| MediaUiReferenceWidgetTest::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::testMenuNodeWithGrantsFormWidget | function | core/ |
Tests creating menu links via node form widget for nodes with grants. |
| 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 install. |
| 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. |
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.