Search for widget

  1. Search 7.x for widget
  2. Search 9.5.x for widget
  3. Search 8.9.x for widget
  4. Search 11.x for widget
  5. Search main for widget
  6. Other projects
Title Object type File name Summary
EntityFormDisplayInterface::flagWidgetsErrorsFromViolations function core/lib/Drupal/Core/Entity/Display/EntityFormDisplayInterface.php Flags entity validation violations as form errors.
EntityFormDisplayValidationTest::testMultilineTextFieldWidgetPlaceholder function core/tests/Drupal/KernelTests/Core/Entity/EntityFormDisplayValidationTest.php Tests validation of entity form display component's widget settings.
EntityReferenceAutocompleteTagsWidget class core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteTagsWidget.php Plugin implementation of the 'entity_reference_autocomplete_tags' widget.
EntityReferenceAutocompleteTagsWidget.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteTagsWidget.php
EntityReferenceAutocompleteTagsWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteTagsWidget.php Returns the form for a single field widget.
EntityReferenceAutocompleteTagsWidget::massageFormValues function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteTagsWidget.php Massages the form values into the format expected for field values.
EntityReferenceAutocompleteWidget class core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Plugin implementation of the 'entity_reference_autocomplete' widget.
EntityReferenceAutocompleteWidget.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php
EntityReferenceAutocompleteWidget::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Defines the default settings for this plugin.
EntityReferenceAutocompleteWidget::errorElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Assigns a field-level validation error to the right widget sub-element.
EntityReferenceAutocompleteWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns the form for a single field widget.
EntityReferenceAutocompleteWidget::getAutocreateBundle function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns the name of the bundle which will be used for autocreated entities.
EntityReferenceAutocompleteWidget::getMatchOperatorOptions function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns the options for the match operator.
EntityReferenceAutocompleteWidget::getSelectionHandlerSetting function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns the value of a setting for the entity reference selection handler.
EntityReferenceAutocompleteWidget::massageFormValues function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Massages the form values into the format expected for field values.
EntityReferenceAutocompleteWidget::settingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns a form to configure settings for the widget.
EntityReferenceAutocompleteWidget::settingsSummary function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns a short summary for the current widget settings.
EntityReferenceAutocompleteWidgetTest class core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php Tests the output of entity reference autocomplete widgets.
EntityReferenceAutocompleteWidgetTest.php file core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php
EntityReferenceAutocompleteWidgetTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php The theme to install as the default for testing.
EntityReferenceAutocompleteWidgetTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php Modules to install.
EntityReferenceAutocompleteWidgetTest::doAutocomplete function core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php Executes an autocomplete on a given field and waits for it to finish.
EntityReferenceAutocompleteWidgetTest::setUp function core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php
EntityReferenceAutocompleteWidgetTest::testEntityReferenceAutocompleteWidget function core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php Tests that the default autocomplete widget return the correct results.
EntityReferenceAutocompleteWidgetTest::testEntityReferenceAutocompleteWidgetAttachedEntity function core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php Tests that the autocomplete widget knows about the entity its attached to.
EntityReferenceIntegrationTest::testSupportedEntityTypesAndWidgets function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php Tests the entity reference field with all its supported field widgets.
EntityReferenceWidgetTest class core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests the Media library entity reference widget.
EntityReferenceWidgetTest.php file core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php
EntityReferenceWidgetTest::$defaultTheme property core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php The theme to install as the default for testing.
EntityReferenceWidgetTest::$mediaItems property core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Test media items.
EntityReferenceWidgetTest::$modules property core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Modules to install.
EntityReferenceWidgetTest::assertAnnounceContains function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Checks for inclusion of text in #drupal-live-announce.
EntityReferenceWidgetTest::setUp function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php
EntityReferenceWidgetTest::sortableUpdate function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Define to provide any necessary callback following layout change.
EntityReferenceWidgetTest::testAddAfterReordering function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests that order is correct after re-order and adding another item.
EntityReferenceWidgetTest::testFocusNotAppliedWithoutSelectionChange function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests that disabled media items don't capture focus on page load.
EntityReferenceWidgetTest::testRemoveAfterReordering function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests that changed order is maintained after removing a selection.
EntityReferenceWidgetTest::testRequiredMediaField function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests saving a required media library field.
EntityReferenceWidgetTest::testWidget function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests that the Media library's widget works as expected.
EntityReferenceWidgetTest::testWidgetPreview function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests the preview displayed by the field widget.
Field Widget API group core/modules/field/field.api.php Define Field API widget types.
FieldInstanceWidgetSettings class core/modules/field/src/Plugin/migrate/process/d6/FieldInstanceWidgetSettings.php Get the field instance widget settings.
FieldInstanceWidgetSettings.php file core/modules/field/src/Plugin/migrate/process/d6/FieldInstanceWidgetSettings.php
FieldInstanceWidgetSettings::getSettings function core/modules/field/src/Plugin/migrate/process/d6/FieldInstanceWidgetSettings.php Merge the default D8 and specified D6 settings for a widget type.
FieldInstanceWidgetSettings::transform function core/modules/field/src/Plugin/migrate/process/d6/FieldInstanceWidgetSettings.php Get the field instance default/mapped widget settings.
FieldItemList::defaultValueWidget function core/lib/Drupal/Core/Field/FieldItemList.php Returns the widget object used in default value form.
FieldPluginBase::alterFieldWidgetMigration function core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php Apply any custom processing to the field widget migration.
FieldPluginBase::getFieldWidgetMap function core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php Get a map between D6 and D8 widgets for this field type.
FieldPluginBase::getFieldWidgetType function core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php Get the field widget type from the source.
fieldset--media-library-widget.html.twig file core/themes/claro/templates/media-library/fieldset--media-library-widget.html.twig Theme override for the media library widget.

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