Search for Id

  1. Search 7.x for Id
  2. Search 9.5.x for Id
  3. Search 8.9.x for Id
  4. Search 10.3.x for Id
  5. Other projects
Title Object type File name Summary
OptionsDynamicValuesValidationTest::$modules property core/modules/options/tests/src/Kernel/OptionsDynamicValuesValidationTest.php Modules to install.
OptionsDynamicValuesValidationTest::$test property core/modules/options/tests/src/Kernel/OptionsDynamicValuesValidationTest.php Test data.
OptionsDynamicValuesValidationTest::setUp function core/modules/options/tests/src/Kernel/OptionsDynamicValuesValidationTest.php Set the default field storage backend for fields created during tests.
OptionsDynamicValuesValidationTest::testDynamicAllowedValues function core/modules/options/tests/src/Kernel/OptionsDynamicValuesValidationTest.php Tests that allowed values function gets the entity.
OptionsFieldUIAllowedValuesTest::providerTestOptionsAllowedValues function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Data provider for testOptionsAllowedValues().
OptionsProviderInterface interface core/lib/Drupal/Core/TypedData/OptionsProviderInterface.php Interface for retrieving all possible and settable values.
OptionsProviderInterface.php file core/lib/Drupal/Core/TypedData/OptionsProviderInterface.php
OptionsProviderInterface::getPossibleOptions function core/lib/Drupal/Core/TypedData/OptionsProviderInterface.php Returns an array of possible values with labels for display.
OptionsProviderInterface::getPossibleValues function core/lib/Drupal/Core/TypedData/OptionsProviderInterface.php Returns an array of possible values.
OptionsProviderInterface::getSettableOptions function core/lib/Drupal/Core/TypedData/OptionsProviderInterface.php Returns an array of settable values with labels for display.
OptionsProviderInterface::getSettableValues function core/lib/Drupal/Core/TypedData/OptionsProviderInterface.php Returns an array of settable values.
OptionsRequestSubscriber::$routeProvider property core/lib/Drupal/Core/EventSubscriber/OptionsRequestSubscriber.php The route provider.
OptionsRequestSubscriberTest::providerTestOnRequestWithOptionsRequest function core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php
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
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
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::testOptionsListAlter function core/modules/options/tests/src/Functional/OptionsWidgetsTest.php Tests hook_options_list_alter().
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::testSelectListRequiredErrorAttribute function core/modules/options/tests/src/Functional/OptionsWidgetsTest.php Tests the '#required_error' attribute for the select list.
OptionsWidgetsTest::testSelectListSingle function core/modules/options/tests/src/Functional/OptionsWidgetsTest.php Tests the 'options_select' widget (single select).

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