Search for options
- Search 7.x for options
- Search 9.5.x for options
- Search 8.9.x for options
- Search 10.3.x for options
- Search 11.x for options
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| options.icon.theme.pcss.css | file | core/ |
.field-icon-selection_list { background-image: url(../../../misc/icons/55565b/selection_list.svg); } |
| options.info.yml | file | core/ |
core/modules/options/options.info.yml |
| options.libraries.yml | file | core/ |
core/modules/options/options.libraries.yml |
| options.migrate_drupal.yml | file | core/ |
core/modules/options/migrations/state/options.migrate_drupal.yml |
| options.module | file | core/ |
|
| options.schema.yml | file | core/ |
core/modules/options/config/schema/options.schema.yml |
| options.services.yml | file | core/ |
core/modules/options/options.services.yml |
| OptionsAllowedValues | class | core/ |
Provide allowed values callback. |
| OptionsAllowedValues | class | core/ |
Provides allowed values for a list field. |
| OptionsAllowedValues.php | file | core/ |
|
| OptionsAllowedValues.php | file | core/ |
|
| OptionsAllowedValues::CACHE_TAG | constant | core/ |
Cache tag set on all cached allowed values. |
| OptionsAllowedValues::dynamicValues | function | core/ |
Implements callback_allowed_values_function(). |
| OptionsAllowedValues::getAllowedValues | function | core/ |
|
| OptionsAllowedValues::getCid | function | core/ |
Returns the CID used to cache the options allowed values. |
| OptionsAllowedValues::simpleValues | function | core/ |
Implements callback_allowed_values_function(). |
| OptionsAllowedValues::__construct | function | core/ |
|
| OptionsAllowedValuesInterface | interface | core/ |
Provides an interface to get allowed values for a list field. |
| OptionsAllowedValuesInterface.php | file | core/ |
|
| OptionsAllowedValuesInterface::getAllowedValues | function | core/ |
Returns the array of allowed values for a list field. |
| OptionsAllowedValuesTest | class | core/ |
Tests the caching of options allowed values. |
| OptionsAllowedValuesTest.php | file | core/ |
|
| OptionsAllowedValuesTest::testCachedPerField | function | core/ |
Tests that each field is cached in its own item with its own cache tags. |
| OptionsAllowedValuesTest::testSubmitFieldStorageUpdate | function | core/ |
Tests that the field storage form submit resets the cached values. |
| OptionsButtonsWidget | class | core/ |
Plugin implementation of the 'options_buttons' widget. |
| OptionsButtonsWidget.php | file | core/ |
|
| OptionsButtonsWidget::formElement | function | core/ |
Returns the form for a single field widget. |
| OptionsButtonsWidget::getEmptyLabel | function | core/ |
Returns the empty option label to add to the list of options, if any. |
| OptionsDefaultFormatter | class | core/ |
Plugin implementation of the 'list_default' formatter. |
| OptionsDefaultFormatter.php | file | core/ |
|
| OptionsDefaultFormatter::viewElements | function | core/ |
Builds a renderable array for a field value. |
| OptionsDynamicValuesApiTest | class | core/ |
Tests the options allowed values api. |
| OptionsDynamicValuesApiTest.php | file | core/ |
|
| OptionsDynamicValuesApiTest::$entity | property | core/ |
The created entity. |
| OptionsDynamicValuesApiTest::$modules | property | core/ |
Modules to install. |
| OptionsDynamicValuesApiTest::setUp | function | core/ |
Set the default field storage backend for fields created during tests. |
| OptionsDynamicValuesApiTest::testOptionsAllowedValues | function | core/ |
Tests \Drupal\options\OptionsAllowedValuesInterface::allowedValues(). |
| OptionsDynamicValuesTestBase | class | core/ |
Base class for testing allowed values of options fields. |
| OptionsDynamicValuesTestBase.php | file | core/ |
|
| OptionsDynamicValuesTestBase::$entity | property | core/ |
The created entity. |
| OptionsDynamicValuesTestBase::$field | property | core/ |
The field data. |
| OptionsDynamicValuesTestBase::$fieldStorage | property | core/ |
The field storage. |
| OptionsDynamicValuesTestBase::$modules | property | core/ |
Modules to install. |
| OptionsDynamicValuesTestBase::$test | property | core/ |
Test data. |
| OptionsDynamicValuesTestBase::setUp | function | core/ |
|
| OptionsDynamicValuesValidationTest | class | core/ |
Tests the Options field allowed values function. |
| OptionsDynamicValuesValidationTest.php | file | core/ |
|
| OptionsDynamicValuesValidationTest::$entity | property | core/ |
The created entity. |
| OptionsDynamicValuesValidationTest::$modules | property | core/ |
Modules to install. |
| OptionsDynamicValuesValidationTest::$test | property | core/ |
Test data. |
Pagination
- Previous page
- Page 11
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.