Search for Id

  1. Search 7.x for Id
  2. Search 8.9.x for Id
  3. Search 10.3.x for Id
  4. Search 11.x for Id
  5. Other projects
Title Object type File name Summary
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 Retrieves processing information about the widget from $form_state.
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 Returns if the widget can be used for the provided field.
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 Massages the form values into the format expected for field values.
WidgetBase::settingsForm function core/lib/Drupal/Core/Field/WidgetBase.php Returns a form to configure settings for the widget.
WidgetBase::settingsSummary function core/lib/Drupal/Core/Field/WidgetBase.php Returns a short summary for the current widget settings.
WidgetBase::setWidgetState function core/lib/Drupal/Core/Field/WidgetBase.php Stores processing information about the widget in $form_state.
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 The theme to install as the default for testing.
WidgetOEmbedTest::$modules property core/modules/media_library/tests/src/FunctionalJavascript/WidgetOEmbedTest.php Modules to enable.
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.
WidgetPluginManager class core/lib/Drupal/Core/Field/WidgetPluginManager.php Plugin type manager for field widgets.
WidgetPluginManager.php file core/lib/Drupal/Core/Field/WidgetPluginManager.php
WidgetPluginManager::$fieldTypeManager property core/lib/Drupal/Core/Field/WidgetPluginManager.php The field type manager to define field.
WidgetPluginManager::$widgetOptions property core/lib/Drupal/Core/Field/WidgetPluginManager.php An array of widget options for each field type.
WidgetPluginManager::createInstance function core/lib/Drupal/Core/Field/WidgetPluginManager.php
WidgetPluginManager::getDefaultSettings function core/lib/Drupal/Core/Field/WidgetPluginManager.php Returns the default settings of a field widget.
WidgetPluginManager::getInstance function core/lib/Drupal/Core/Field/WidgetPluginManager.php Overrides PluginManagerBase::getInstance().
WidgetPluginManager::getOptions function core/lib/Drupal/Core/Field/WidgetPluginManager.php Returns an array of widget type options for a field type.
WidgetPluginManager::prepareConfiguration function core/lib/Drupal/Core/Field/WidgetPluginManager.php Merges default values for widget configuration.
WidgetPluginManager::__construct function core/lib/Drupal/Core/Field/WidgetPluginManager.php Constructs a WidgetPluginManager object.
WidgetPluginManagerTest class core/modules/field/tests/src/Kernel/WidgetPluginManagerTest.php Tests the field widget manager.
WidgetPluginManagerTest.php file core/modules/field/tests/src/Kernel/WidgetPluginManagerTest.php
WidgetPluginManagerTest::testNotApplicableFallback function core/modules/field/tests/src/Kernel/WidgetPluginManagerTest.php Tests that getInstance falls back on default if current is not applicable.
WidgetPluginManagerTest::testWidgetDefinitionAlter function core/modules/field/tests/src/Kernel/WidgetPluginManagerTest.php Tests that the widget definitions alter hook works.

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