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.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.php | file | core/ |
|
| OptionsAllowedValues::dynamicValues | function | core/ |
Implements callback_allowed_values_function(). |
| OptionsAllowedValues::simpleValues | function | core/ |
Implements callback_allowed_values_function(). |
| 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 options_allowed_values(). |
| 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/ |
|
| 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. |
| OptionsDynamicValuesValidationTest::setUp | function | core/ |
Set the default field storage backend for fields created during tests. |
| OptionsDynamicValuesValidationTest::testDynamicAllowedValues | function | core/ |
Tests that allowed values function gets the entity. |
| OptionsEnumTrait | trait | core/ |
Helper functions to translate enum cases into an array of options. |
| OptionsEnumTrait.php | file | core/ |
|
| OptionsEnumTrait::asOptions | function | core/ |
Returns an array of options for use in form API. |
| OptionsEnumTrait::label | function | core/ |
Gets the label for this enum case. |
| OptionsField | class | core/ |
Migrate field plugin for Drupal 7 options fields. |
| OptionsField.php | file | core/ |
|
| OptionsFieldTest | class | core/ |
Tests for the 'Options' field types. |
| OptionsFieldTest.php | file | core/ |
|
| OptionsFieldTest::$modules | property | core/ |
Modules to install. |
| OptionsFieldTest::testGenerateSampleItemsWithNoAllowedValues | function | core/ |
Tests that ::generateSampleItems does not fail with empty allowed values. |
| OptionsFieldTest::testUpdateAllowedValues | function | core/ |
Tests that allowed values can be updated. |
| OptionsFieldUIAllowedValuesTest | class | core/ |
Tests the Options field allowed values UI functionality. |
| OptionsFieldUIAllowedValuesTest.php | file | core/ |
|
| OptionsFieldUIAllowedValuesTest::$adminPath | property | core/ |
Admin path to manage field storage settings. |
| OptionsFieldUIAllowedValuesTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
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.