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. Search 11.x for options
  6. Other projects
Title Object type File name Summary
options.icon.theme.pcss.css file core/modules/options/css/options.icon.theme.pcss.css .field-icon-selection_list {
background-image: url(../../../misc/icons/55565b/selection_list.svg);
}
options.info.yml file core/modules/options/options.info.yml core/modules/options/options.info.yml
options.libraries.yml file core/modules/options/options.libraries.yml core/modules/options/options.libraries.yml
options.migrate_drupal.yml file core/modules/options/migrations/state/options.migrate_drupal.yml core/modules/options/migrations/state/options.migrate_drupal.yml
options.module file core/modules/options/options.module
options.schema.yml file core/modules/options/config/schema/options.schema.yml core/modules/options/config/schema/options.schema.yml
options.services.yml file core/modules/options/options.services.yml core/modules/options/options.services.yml
OptionsAllowedValues class core/modules/options/tests/options_test/src/OptionsAllowedValues.php Provide allowed values callback.
OptionsAllowedValues class core/modules/options/src/OptionsAllowedValues.php Provides allowed values for a list field.
OptionsAllowedValues.php file core/modules/options/src/OptionsAllowedValues.php
OptionsAllowedValues.php file core/modules/options/tests/options_test/src/OptionsAllowedValues.php
OptionsAllowedValues::CACHE_TAG constant core/modules/options/src/OptionsAllowedValues.php Cache tag set on all cached allowed values.
OptionsAllowedValues::dynamicValues function core/modules/options/tests/options_test/src/OptionsAllowedValues.php Implements callback_allowed_values_function().
OptionsAllowedValues::getAllowedValues function core/modules/options/src/OptionsAllowedValues.php
OptionsAllowedValues::getCid function core/modules/options/src/OptionsAllowedValues.php Returns the CID used to cache the options allowed values.
OptionsAllowedValues::simpleValues function core/modules/options/tests/options_test/src/OptionsAllowedValues.php Implements callback_allowed_values_function().
OptionsAllowedValues::__construct function core/modules/options/src/OptionsAllowedValues.php
OptionsAllowedValuesInterface interface core/modules/options/src/OptionsAllowedValuesInterface.php Provides an interface to get allowed values for a list field.
OptionsAllowedValuesInterface.php file core/modules/options/src/OptionsAllowedValuesInterface.php
OptionsAllowedValuesInterface::getAllowedValues function core/modules/options/src/OptionsAllowedValuesInterface.php Returns the array of allowed values for a list field.
OptionsAllowedValuesTest class core/modules/options/tests/src/Kernel/OptionsAllowedValuesTest.php Tests the caching of options allowed values.
OptionsAllowedValuesTest.php file core/modules/options/tests/src/Kernel/OptionsAllowedValuesTest.php
OptionsAllowedValuesTest::testCachedPerField function core/modules/options/tests/src/Kernel/OptionsAllowedValuesTest.php Tests that each field is cached in its own item with its own cache tags.
OptionsAllowedValuesTest::testSubmitFieldStorageUpdate function core/modules/options/tests/src/Kernel/OptionsAllowedValuesTest.php Tests that the field storage form submit resets the cached values.
OptionsButtonsWidget class core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsButtonsWidget.php Plugin implementation of the 'options_buttons' widget.
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 \Drupal\options\OptionsAllowedValuesInterface::allowedValues().
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 The field data.
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.

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