Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
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.
OptionsTestBase class core/modules/options/tests/src/Kernel/Views/OptionsTestBase.php Base class for options views tests.
OptionsTestBase.php file core/modules/options/tests/src/Kernel/Views/OptionsTestBase.php
OptionsTestBase::$fieldNames property core/modules/options/tests/src/Kernel/Views/OptionsTestBase.php The used field names.
OptionsTestBase::$fieldValues property core/modules/options/tests/src/Kernel/Views/OptionsTestBase.php Stores the field values used for the different tests.
OptionsTestBase::$modules property core/modules/options/tests/src/Kernel/Views/OptionsTestBase.php Modules to enable.
OptionsTestBase::$nodes property core/modules/options/tests/src/Kernel/Views/OptionsTestBase.php Stores the nodes used for the different tests.
OptionsTestBase::mockStandardInstall function core/modules/options/tests/src/Kernel/Views/OptionsTestBase.php Provides a workaround for the inability to use the standard profile.
OptionsTestBase::setUp function core/modules/options/tests/src/Kernel/Views/OptionsTestBase.php
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 enable.
OptionsWidgetsTest::setUp function core/modules/options/tests/src/Functional/OptionsWidgetsTest.php
OptionsWidgetsTest::testCheckBoxes function core/modules/options/tests/src/Functional/OptionsWidgetsTest.php Tests the 'options_buttons' widget (multiple select).
OptionsWidgetsTest::testEmptyValue function core/modules/options/tests/src/Functional/OptionsWidgetsTest.php Tests the 'options_select' and 'options_button' widget for empty value.
OptionsWidgetsTest::testRadioButtons function core/modules/options/tests/src/Functional/OptionsWidgetsTest.php Tests the 'options_buttons' widget (single select).
OptionsWidgetsTest::testSelectListFloat function core/modules/options/tests/src/Functional/OptionsWidgetsTest.php Tests the 'options_select' widget (float values).
OptionsWidgetsTest::testSelectListMultiple function core/modules/options/tests/src/Functional/OptionsWidgetsTest.php Tests the 'options_select' widget (multiple select).
OptionsWidgetsTest::testSelectListSingle function core/modules/options/tests/src/Functional/OptionsWidgetsTest.php Tests the 'options_select' widget (single select).
options_allowed_values function core/modules/options/options.module Returns the array of allowed values for a list field.
options_config_install_test.info.yml file core/modules/options/tests/options_config_install_test/options_config_install_test.info.yml core/modules/options/tests/options_config_install_test/options_config_install_test.info.yml
options_field_storage_config_delete function core/modules/options/options.module Implements hook_ENTITY_TYPE_delete() for 'field_storage_config'.
options_field_storage_config_update function core/modules/options/options.module Implements hook_ENTITY_TYPE_update() for 'field_storage_config'.
options_field_storage_config_update_forbid function core/modules/options/options.module Implements hook_field_storage_config_update_forbid().
options_field_views_data function core/modules/options/options.views.inc Implements hook_field_views_data().
options_help function core/modules/options/options.module Implements hook_help().
options_request_listener service core/core.services.yml Drupal\Core\EventSubscriber\OptionsRequestSubscriber
options_test.info.yml file core/modules/options/tests/options_test/options_test.info.yml core/modules/options/tests/options_test/options_test.info.yml

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