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 10.3.x for widget
  5. Search 11.x for widget
  6. Other projects
Title Object type File name Summary
WidgetBase::errorElement function core/lib/Drupal/Core/Field/WidgetBase.php
WidgetBase::extractFormValues function core/lib/Drupal/Core/Field/WidgetBase.php
WidgetBase::flagErrors function core/lib/Drupal/Core/Field/WidgetBase.php
WidgetBase::form function core/lib/Drupal/Core/Field/WidgetBase.php
WidgetBase::formMultipleElements function core/lib/Drupal/Core/Field/WidgetBase.php Special handling to create form elements for multiple values.
WidgetBase::formSingleElement function core/lib/Drupal/Core/Field/WidgetBase.php Generates the form element for a single copy of the widget.
WidgetBase::getFieldSetting function core/lib/Drupal/Core/Field/WidgetBase.php Returns the value of a field setting.
WidgetBase::getFieldSettings function core/lib/Drupal/Core/Field/WidgetBase.php Returns the array of field settings.
WidgetBase::getFilteredDescription function core/lib/Drupal/Core/Field/WidgetBase.php Returns the filtered field description.
WidgetBase::getWidgetState function core/lib/Drupal/Core/Field/WidgetBase.php
WidgetBase::getWidgetStateParents function core/lib/Drupal/Core/Field/WidgetBase.php Returns the location of processing information within $form_state.
WidgetBase::handlesMultipleValues function core/lib/Drupal/Core/Field/WidgetBase.php Returns whether the widget handles multiple values.
WidgetBase::isApplicable function core/lib/Drupal/Core/Field/WidgetBase.php
WidgetBase::isDefaultValueWidget function core/lib/Drupal/Core/Field/WidgetBase.php Returns whether the widget used for default value form.
WidgetBase::massageFormValues function core/lib/Drupal/Core/Field/WidgetBase.php
WidgetBase::settingsForm function core/lib/Drupal/Core/Field/WidgetBase.php
WidgetBase::settingsSummary function core/lib/Drupal/Core/Field/WidgetBase.php
WidgetBase::setWidgetState function core/lib/Drupal/Core/Field/WidgetBase.php
WidgetBase::__construct function core/lib/Drupal/Core/Field/WidgetBase.php Constructs a WidgetBase object.
WidgetBaseInterface interface core/lib/Drupal/Core/Field/WidgetBaseInterface.php Base interface definition for "Field widget" plugins.
WidgetBaseInterface.php file core/lib/Drupal/Core/Field/WidgetBaseInterface.php
WidgetBaseInterface::extractFormValues function core/lib/Drupal/Core/Field/WidgetBaseInterface.php Extracts field values from submitted form values.
WidgetBaseInterface::flagErrors function core/lib/Drupal/Core/Field/WidgetBaseInterface.php Reports field-level validation errors against actual form elements.
WidgetBaseInterface::form function core/lib/Drupal/Core/Field/WidgetBaseInterface.php Creates a form element for a field.
WidgetBaseInterface::getWidgetState function core/lib/Drupal/Core/Field/WidgetBaseInterface.php Retrieves processing information about the widget from $form_state.
WidgetBaseInterface::setWidgetState function core/lib/Drupal/Core/Field/WidgetBaseInterface.php Stores processing information about the widget in $form_state.
WidgetInterface interface core/lib/Drupal/Core/Field/WidgetInterface.php Interface definition for field widget plugins.
WidgetInterface.php file core/lib/Drupal/Core/Field/WidgetInterface.php
WidgetInterface::errorElement function core/lib/Drupal/Core/Field/WidgetInterface.php Assigns a field-level validation error to the right widget sub-element.
WidgetInterface::formElement function core/lib/Drupal/Core/Field/WidgetInterface.php Returns the form for a single field widget.
WidgetInterface::isApplicable function core/lib/Drupal/Core/Field/WidgetInterface.php Returns if the widget can be used for the provided field.
WidgetInterface::massageFormValues function core/lib/Drupal/Core/Field/WidgetInterface.php Massages the form values into the format expected for field values.
WidgetInterface::settingsForm function core/lib/Drupal/Core/Field/WidgetInterface.php Returns a form to configure settings for the widget.
WidgetInterface::settingsSummary function core/lib/Drupal/Core/Field/WidgetInterface.php Returns a short summary for the current widget settings.
WidgetOEmbedTest class core/modules/media_library/tests/src/FunctionalJavascript/WidgetOEmbedTest.php Tests that oEmbed media can be added in the Media library's widget.
WidgetOEmbedTest.php file core/modules/media_library/tests/src/FunctionalJavascript/WidgetOEmbedTest.php
WidgetOEmbedTest::$defaultTheme property core/modules/media_library/tests/src/FunctionalJavascript/WidgetOEmbedTest.php
WidgetOEmbedTest::$modules property core/modules/media_library/tests/src/FunctionalJavascript/WidgetOEmbedTest.php
WidgetOEmbedTest::setUp function core/modules/media_library/tests/src/FunctionalJavascript/WidgetOEmbedTest.php
WidgetOEmbedTest::testWidgetOEmbed function core/modules/media_library/tests/src/FunctionalJavascript/WidgetOEmbedTest.php Tests that oEmbed media can be added in the Media library's widget.
WidgetOEmbedTest::testWidgetOEmbedAdvancedUi function core/modules/media_library/tests/src/FunctionalJavascript/WidgetOEmbedTest.php Tests that oEmbed media can be added in the widget's advanced UI.
WidgetOverflowTest class core/modules/media_library/tests/src/FunctionalJavascript/WidgetOverflowTest.php Tests that uploads in the 'media_library_widget' works as expected.
WidgetOverflowTest.php file core/modules/media_library/tests/src/FunctionalJavascript/WidgetOverflowTest.php
WidgetOverflowTest::$image property core/modules/media_library/tests/src/FunctionalJavascript/WidgetOverflowTest.php The test image file.
WidgetOverflowTest::providerWidgetOverflow function core/modules/media_library/tests/src/FunctionalJavascript/WidgetOverflowTest.php Data provider for ::testWidgetOverflow() and ::testUnlimitedCardinality().
WidgetOverflowTest::setUp function core/modules/media_library/tests/src/FunctionalJavascript/WidgetOverflowTest.php
WidgetOverflowTest::testUnlimitedCardinality function core/modules/media_library/tests/src/FunctionalJavascript/WidgetOverflowTest.php Tests that unlimited fields' selection count is not constrained.
WidgetOverflowTest::testWidgetOverflow function core/modules/media_library/tests/src/FunctionalJavascript/WidgetOverflowTest.php Tests that the Media Library constrains the number of selected items.
WidgetOverflowTest::uploadFiles function core/modules/media_library/tests/src/FunctionalJavascript/WidgetOverflowTest.php Uploads multiple test images into the media library.
WidgetPluginManager class core/lib/Drupal/Core/Field/WidgetPluginManager.php Plugin type manager for field widgets.

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