Search for options

  1. Search 7.x for options
  2. Search 8.9.x for options
  3. Search 10.3.x for options
  4. Search 11.x for options
  5. Other projects
Title Object type File name Summary
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.
options.api.php file core/modules/options/options.api.php Hooks provided by the Options module.
options.info.yml file core/modules/options/options.info.yml core/modules/options/options.info.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 Defines selection, check box and radio button widgets for text and numeric fields.
options.schema.yml file core/modules/options/config/schema/options.schema.yml core/modules/options/config/schema/options.schema.yml
options.views.inc file core/modules/options/options.views.inc Provide Views data for options.module.
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/Functional/OptionsDynamicValuesApiTest.php Tests the options allowed values api.
OptionsDynamicValuesApiTest.php file core/modules/options/tests/src/Functional/OptionsDynamicValuesApiTest.php
OptionsDynamicValuesApiTest::$defaultTheme property core/modules/options/tests/src/Functional/OptionsDynamicValuesApiTest.php The theme to install as the default for testing.
OptionsDynamicValuesApiTest::testOptionsAllowedValues function core/modules/options/tests/src/Functional/OptionsDynamicValuesApiTest.php Tests options_allowed_values().
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
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 enable.
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/Functional/OptionsDynamicValuesValidationTest.php Tests the Options field allowed values function.
OptionsDynamicValuesValidationTest.php file core/modules/options/tests/src/Functional/OptionsDynamicValuesValidationTest.php
OptionsDynamicValuesValidationTest::$defaultTheme property core/modules/options/tests/src/Functional/OptionsDynamicValuesValidationTest.php The theme to install as the default for testing.
OptionsDynamicValuesValidationTest::testDynamicAllowedValues function core/modules/options/tests/src/Functional/OptionsDynamicValuesValidationTest.php Tests that allowed values function gets the entity.
OptionsField class core/modules/options/src/Plugin/migrate/field/d7/OptionsField.php Plugin annotation

@MigrateField(
id = "options",
core = {7},
source_module = "options",
destination_module = "options"
)
OptionsField.php file core/modules/options/src/Plugin/migrate/field/d7/OptionsField.php
OptionsFieldTest class core/modules/options/tests/src/Kernel/OptionsFieldTest.php Tests for the 'Options' field types.
OptionsFieldTest.php file core/modules/options/tests/src/Kernel/OptionsFieldTest.php
OptionsFieldTest::$modules property core/modules/options/tests/src/Kernel/OptionsFieldTest.php Modules to enable.
OptionsFieldTest::testGenerateSampleItemsWithNoAllowedValues function core/modules/options/tests/src/Kernel/OptionsFieldTest.php Tests that ::generateSampleItems does not fail with empty allowed values.

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