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 |
|---|---|---|---|
| OptGroup::doFlattenOptions | function | core/ |
Iterates over an array building a flat array with duplicate keys removed. |
| OptGroup::flattenOptions | function | core/ |
Allows PHP array processing of multiple select options with the same value. |
| OptGroupTest::providerTestFlattenOptions | function | core/ |
Provides test data for the flattenOptions() method. |
| OptGroupTest::testFlattenOptions | function | core/ |
Tests the flattenOptions() method. |
| OptionalConstraint::getCompositeOptionStatic | function | core/ |
|
| options.api.php | file | core/ |
Hooks provided by the Options module. |
| options.field_type_categories.yml | file | core/ |
core/modules/options/options.field_type_categories.yml |
| options.icon.theme.css | file | core/ |
/* * DO NOT EDIT THIS FILE. * See the following change record for more information, * https://www.drupal.org/node/3084859 * @preserve */ .field-icon-selection_list { background-image: url("data:image/svg+xml,%3csvg height='36'… |
| 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/ |
|
| OptionsButtonsWidget::getEmptyLabel | function | core/ |
|
| OptionsDefaultFormatter | class | core/ |
Plugin implementation of the 'list_default' formatter. |
| OptionsDefaultFormatter.php | file | core/ |
|
| OptionsDefaultFormatter::viewElements | function | core/ |
|
| OptionsDynamicValuesApiTest | class | core/ |
Tests the options allowed values api. |
| OptionsDynamicValuesApiTest.php | file | core/ |
|
| OptionsDynamicValuesApiTest::$entity | property | core/ |
The created entity. |
| OptionsDynamicValuesApiTest::$modules | property | core/ |
|
| OptionsDynamicValuesApiTest::setUp | function | core/ |
|
| 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. |
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.