Search for options

  1. Search 7.x for options
  2. Search 9.5.x for options
  3. Search 8.9.x for options
  4. Search 10.3.x for options
  5. Other projects
Title Object type File name Summary
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.
OptionsDefaultFormatter class core/modules/options/src/Plugin/Field/FieldFormatter/OptionsDefaultFormatter.php Plugin implementation of the 'list_default' formatter.
OptionsDefaultFormatter.php file core/modules/options/src/Plugin/Field/FieldFormatter/OptionsDefaultFormatter.php
OptionsDefaultFormatter::viewElements function core/modules/options/src/Plugin/Field/FieldFormatter/OptionsDefaultFormatter.php Builds a renderable array for a field value.
OptionsDynamicValuesApiTest class core/modules/options/tests/src/Kernel/OptionsDynamicValuesApiTest.php Tests the options allowed values api.
OptionsDynamicValuesApiTest.php file core/modules/options/tests/src/Kernel/OptionsDynamicValuesApiTest.php
OptionsDynamicValuesApiTest::$entity property core/modules/options/tests/src/Kernel/OptionsDynamicValuesApiTest.php The created entity.
OptionsDynamicValuesApiTest::$modules property core/modules/options/tests/src/Kernel/OptionsDynamicValuesApiTest.php Modules to install.
OptionsDynamicValuesApiTest::setUp function core/modules/options/tests/src/Kernel/OptionsDynamicValuesApiTest.php Set the default field storage backend for fields created during tests.
OptionsDynamicValuesApiTest::testOptionsAllowedValues function core/modules/options/tests/src/Kernel/OptionsDynamicValuesApiTest.php Tests options_allowed_values().
OptionsDynamicValuesTestBase class core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php Base class for testing allowed values of options fields.
OptionsDynamicValuesTestBase.php file core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php
OptionsDynamicValuesTestBase::$entity property core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php The created entity.
OptionsDynamicValuesTestBase::$field property core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php
OptionsDynamicValuesTestBase::$fieldStorage property core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php The field storage.
OptionsDynamicValuesTestBase::$modules property core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php Modules to install.
OptionsDynamicValuesTestBase::$test property core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php Test data.
OptionsDynamicValuesTestBase::setUp function core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php
OptionsDynamicValuesValidationTest class core/modules/options/tests/src/Kernel/OptionsDynamicValuesValidationTest.php Tests the Options field allowed values function.
OptionsDynamicValuesValidationTest.php file core/modules/options/tests/src/Kernel/OptionsDynamicValuesValidationTest.php
OptionsDynamicValuesValidationTest::$entity property core/modules/options/tests/src/Kernel/OptionsDynamicValuesValidationTest.php The created entity.
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.
OptionsField class core/modules/options/src/Plugin/migrate/field/d7/OptionsField.php
OptionsField.php file core/modules/options/src/Plugin/migrate/field/d7/OptionsField.php
OptionsFieldTest class core/modules/options/tests/src/Kernel/OptionsFieldTest.php Tests for the 'Options' field types.
OptionsFieldTest.php file core/modules/options/tests/src/Kernel/OptionsFieldTest.php
OptionsFieldTest::$modules property core/modules/options/tests/src/Kernel/OptionsFieldTest.php Modules to install.
OptionsFieldTest::testGenerateSampleItemsWithNoAllowedValues function core/modules/options/tests/src/Kernel/OptionsFieldTest.php Tests that ::generateSampleItems does not fail with empty allowed values.
OptionsFieldTest::testUpdateAllowedValues function core/modules/options/tests/src/Kernel/OptionsFieldTest.php Tests that allowed values can be updated.
OptionsFieldUIAllowedValuesTest class core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Tests the Options field allowed values UI functionality.
OptionsFieldUIAllowedValuesTest.php file core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php
OptionsFieldUIAllowedValuesTest::$adminPath property core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Admin path to manage field storage settings.
OptionsFieldUIAllowedValuesTest::$defaultTheme property core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php The theme to install as the default for testing.
OptionsFieldUIAllowedValuesTest::$fieldName property core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Name of the option field.
OptionsFieldUIAllowedValuesTest::$modules property core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Modules to install.
OptionsFieldUIAllowedValuesTest::$nodeFormPath property core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Node form path for created content type.
OptionsFieldUIAllowedValuesTest::$type property core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Machine name of the created content type.
OptionsFieldUIAllowedValuesTest::assertAllowValuesRowCount function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Assert the count of the allowed values rows.
OptionsFieldUIAllowedValuesTest::assertHasFocusByAttribute function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Asserts an element specified by an attribute value has focus.
OptionsFieldUIAllowedValuesTest::assertNodeFormOrder function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Asserts the order of provided option list on node form.
OptionsFieldUIAllowedValuesTest::assertOrder function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Asserts the order of provided option list on admin path.
OptionsFieldUIAllowedValuesTest::createOptionsField function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Helper function to create list field of a given type.
OptionsFieldUIAllowedValuesTest::exposeOptionMachineName function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Exposes the machine name input for a row.
OptionsFieldUIAllowedValuesTest::pressEnterOnElement function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Presses "Enter" on the specified element.
OptionsFieldUIAllowedValuesTest::providerTestOptionsAllowedValues function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Data provider for testOptionsAllowedValues().

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