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
NumberListField::$optionsAllowedValues property core/modules/options/src/Plugin/views/argument/NumberListField.php The options allowed values service.
NumberListField::buildOptionsForm function core/modules/options/src/Plugin/views/argument/NumberListField.php Provide a form to edit options for this plugin.
NumberListField::defineOptions function core/modules/options/src/Plugin/views/argument/NumberListField.php Information about options for all kinds of purposes will be held here.
NumericArgument::buildOptionsForm function core/modules/views/src/Plugin/views/argument/NumericArgument.php Provide a form to edit options for this plugin.
NumericArgument::defineOptions function core/modules/views/src/Plugin/views/argument/NumericArgument.php Information about options for all kinds of purposes will be held here.
NumericField::buildOptionsForm function core/modules/views/src/Plugin/views/field/NumericField.php Default option form that provides label widget that all fields should have.
NumericField::defineOptions function core/modules/views/src/Plugin/views/field/NumericField.php Information about options for all kinds of purposes will be held here.
NumericField::submitOptionsForm function core/modules/views/src/Plugin/views/field/NumericField.php Performs some cleanup tasks on the options array before saving it.
NumericFilter::defaultExposeOptions function core/modules/views/src/Plugin/views/filter/NumericFilter.php Provide default options for exposed filters.
NumericFilter::defineOptions function core/modules/views/src/Plugin/views/filter/NumericFilter.php Information about options for all kinds of purposes will be held here.
NumericFilter::operatorOptions function core/modules/views/src/Plugin/views/filter/NumericFilter.php Provide a list of all the numeric operators.
OpenDialogCommand::$dialogOptions property core/lib/Drupal/Core/Ajax/OpenDialogCommand.php Stores dialog-specific options passed directly to jQuery UI dialogs.
OpenDialogCommand::getDialogOptions function core/lib/Drupal/Core/Ajax/OpenDialogCommand.php Returns the dialog options.
OpenDialogCommand::setDialogOptions function core/lib/Drupal/Core/Ajax/OpenDialogCommand.php Sets the dialog options array.
OpmlFields::buildOptionsForm function core/modules/views/src/Plugin/views/row/OpmlFields.php Provide a form for setting options.
OpmlFields::defineOptions function core/modules/views/src/Plugin/views/row/OpmlFields.php Information about options for all kinds of purposes will be held here.
OptGroup::doFlattenOptions function core/lib/Drupal/Core/Form/OptGroup.php Iterates over an array building a flat array with duplicate keys removed.
OptGroup::flattenOptions function core/lib/Drupal/Core/Form/OptGroup.php Allows PHP array processing of multiple select options with the same value.
OptGroupTest::providerTestFlattenOptions function core/tests/Drupal/Tests/Core/Form/OptGroupTest.php Provides test data for the flattenOptions() method.
OptGroupTest::testFlattenOptions function core/tests/Drupal/Tests/Core/Form/OptGroupTest.php Tests the flattenOptions() method.
OptionalConstraint::getCompositeOptionStatic function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/OptionalConstraint.php Returns the name of the property or properties that contain constraints.
options.api.php file core/modules/options/options.api.php Hooks provided by the Options module.
options.field_type_categories.yml file core/modules/options/options.field_type_categories.yml core/modules/options/options.field_type_categories.yml
options.icon.theme.css file core/modules/options/css/options.icon.theme.css /*
* 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/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/tests/options_test/src/OptionsAllowedValues.php
OptionsAllowedValues.php file core/modules/options/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

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