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
MultipleWidgetFormTest::testLabelOnMultiValueFields function core/modules/field/tests/src/Functional/MultipleWidgetFormTest.php Tests the form display of the label for multi-value fields.
MultipleWidgetFormTest::widgetAlterTest function core/modules/field/tests/src/Functional/MultipleWidgetFormTest.php Tests widget alter hooks for a given hook name.
NumberWidget class core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php Plugin implementation of the 'number' widget.
NumberWidget.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php
NumberWidget::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php Defines the default settings for this plugin.
NumberWidget::errorElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php Assigns a field-level validation error to the right widget sub-element.
NumberWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php Returns the form for a single field widget.
NumberWidget::settingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php Returns a form to configure settings for the widget.
NumberWidget::settingsSummary function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php Returns a short summary for the current widget settings.
OEmbedFieldWidgetTest class core/modules/media/tests/src/Functional/FieldWidget/OEmbedFieldWidgetTest.php @covers \Drupal\media\Plugin\Field\FieldWidget\OEmbedWidget[[api-linebreak]]
OEmbedFieldWidgetTest.php file core/modules/media/tests/src/Functional/FieldWidget/OEmbedFieldWidgetTest.php
OEmbedFieldWidgetTest::$defaultTheme property core/modules/media/tests/src/Functional/FieldWidget/OEmbedFieldWidgetTest.php The theme to install as the default for testing.
OEmbedFieldWidgetTest::testFieldWidgetHelpText function core/modules/media/tests/src/Functional/FieldWidget/OEmbedFieldWidgetTest.php Tests that the oEmbed field widget shows the configured help text.
OEmbedWidget class core/modules/media/src/Plugin/Field/FieldWidget/OEmbedWidget.php Plugin implementation of the 'oembed_textfield' widget.
OEmbedWidget.php file core/modules/media/src/Plugin/Field/FieldWidget/OEmbedWidget.php
OEmbedWidget::formElement function core/modules/media/src/Plugin/Field/FieldWidget/OEmbedWidget.php Returns the form for a single field widget.
OEmbedWidget::isApplicable function core/modules/media/src/Plugin/Field/FieldWidget/OEmbedWidget.php Returns if the widget can be used for the provided field.
OptionsButtonsWidget class core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsButtonsWidget.php Plugin implementation of the 'options_buttons' widget.
OptionsButtonsWidget.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsButtonsWidget.php
OptionsButtonsWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsButtonsWidget.php Returns the form for a single field widget.
OptionsButtonsWidget::getEmptyLabel function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsButtonsWidget.php Returns the empty option label to add to the list of options, if any.
OptionsSelectWidget class core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsSelectWidget.php Plugin implementation of the 'options_select' widget.
OptionsSelectWidget.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsSelectWidget.php
OptionsSelectWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsSelectWidget.php Returns the form for a single field widget.
OptionsSelectWidget::getEmptyLabel function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsSelectWidget.php Returns the empty option label to add to the list of options, if any.
OptionsSelectWidget::sanitizeLabel function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsSelectWidget.php Sanitizes a string label to display as an option.
OptionsSelectWidget::supportsGroups function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsSelectWidget.php Indicates whether the widgets support optgroups.
OptionsWidgetBase class core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Base class for the 'options_*' widgets.
OptionsWidgetBase.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php
OptionsWidgetBase::$column property core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Abstract over the actual field columns.
OptionsWidgetBase::$has_value property core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Tracks whether the field has a value.
OptionsWidgetBase::$multiple property core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Tracks whether the data is multi-valued.
OptionsWidgetBase::$options property core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php The array of options for the widget.
OptionsWidgetBase::$required property core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Tracks whether the field is required.
OptionsWidgetBase::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Returns the form for a single field widget.
OptionsWidgetBase::getEmptyLabel function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Returns the empty option label to add to the list of options, if any.
OptionsWidgetBase::getOptions function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Returns the array of options for the widget.
OptionsWidgetBase::getSelectedOptions function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Determines selected options from the incoming field values.
OptionsWidgetBase::sanitizeLabel function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Sanitizes a string label to display as an option.
OptionsWidgetBase::supportsGroups function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Indicates whether the widgets support optgroups.
OptionsWidgetBase::validateElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Form validation handler for widget elements.
OptionsWidgetBase::__construct function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Constructs a WidgetBase object.
OptionsWidgetsTest class core/modules/options/tests/src/Functional/OptionsWidgetsTest.php Tests the Options widgets.
OptionsWidgetsTest.php file core/modules/options/tests/src/Functional/OptionsWidgetsTest.php
OptionsWidgetsTest::$card1 property core/modules/options/tests/src/Functional/OptionsWidgetsTest.php A field storage with cardinality 1 to use in this test class.
OptionsWidgetsTest::$card2 property core/modules/options/tests/src/Functional/OptionsWidgetsTest.php A field storage with cardinality 2 to use in this test class.
OptionsWidgetsTest::$defaultTheme property core/modules/options/tests/src/Functional/OptionsWidgetsTest.php The theme to install as the default for testing.
OptionsWidgetsTest::$float property core/modules/options/tests/src/Functional/OptionsWidgetsTest.php A field storage with float values to use in this test class.
OptionsWidgetsTest::$modules property core/modules/options/tests/src/Functional/OptionsWidgetsTest.php Modules to install.
OptionsWidgetsTest::setUp function core/modules/options/tests/src/Functional/OptionsWidgetsTest.php

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