Search for options

  1. Search 7.x for options
  2. Search 9.5.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
field.field.node.options_install_test.field_options_float.yml file core/modules/options/tests/options_config_install_test/config/install/field.field.node.options_install_test.field_options_float.yml core/modules/options/tests/options_config_install_test/config/install/field.field.node.options_install_test.field_options_float.yml
field.storage.node.field_options_float.yml file core/modules/options/tests/options_config_install_test/config/install/field.storage.node.field_options_float.yml core/modules/options/tests/options_config_install_test/config/install/field.storage.node.field_options_float.yml
FieldBlock::getApplicablePluginOptions function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php Returns an array of applicable formatter options for a field.
FieldConfig::getDisplayOptions function core/modules/field/src/Entity/FieldConfig.php Returns the default display options for the field.
FieldDefinition::getDisplayOptions function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the default display options for the field.
FieldDefinition::setDisplayOptions function core/lib/Drupal/Core/Field/FieldDefinition.php Sets the display options for the field in forms or rendered entities.
FieldDefinitionInterface::getDisplayOptions function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns the default display options for the field.
FieldPluginBase::buildOptionsForm function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Default options form that provides the label widget that all fields
should have.
FieldPluginBase::defineOptions function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Information about options for all kinds of purposes will be held here.
FieldPluginBase::submitOptionsForm function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Performs some cleanup tasks on the options array before saving it.
FieldPluginBaseTest::$defaultUrlOptions property core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php Default configuration for URL output.
FieldPluginBaseTest::providerTestRenderAsLinkWithPathAndOptions function core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php Data provider for ::testRenderAsLinkWithPathAndOptions().
FieldPluginBaseTest::providerTestRenderAsLinkWithUrlAndOptions function core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php Data provider for ::testRenderAsLinkWithUrlAndOptions().
FieldPluginBaseTest::testRenderAsLinkWithPathAndOptions function core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php Test rendering of a link with a path and options.
FieldPluginBaseTest::testRenderAsLinkWithUrlAndOptions function core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php Tests link rendering with a URL and options.
Fields::buildOptionsForm function core/modules/views/src/Plugin/views/row/Fields.php Provide a form for setting options.
Fields::defineOptions function core/modules/views/src/Plugin/views/row/Fields.php Information about options for all kinds of purposes will be held here.
Fields::submitOptionsForm function core/modules/views/src/Plugin/views/row/Fields.php Perform any necessary changes to the form values prior to storage.
There is no need for this function to actually store the data.
FieldStorageAddForm::getExistingFieldStorageOptions function core/modules/field_ui/src/Form/FieldStorageAddForm.php Returns an array of existing field storages that can be added to a bundle.
FieldStorageConfig::getOptionsProvider function core/modules/field/src/Entity/FieldStorageConfig.php Gets an options provider for the given field item property.
FieldStorageDefinitionInterface::getOptionsProvider function core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php Gets an options provider for the given field item property.
FieldTest::testDefineOptionsWithDefaultFormatterOnFieldDefinition function core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php @covers ::defineOptions
FieldTest::testDefineOptionsWithDefaultFormatterOnFieldType function core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php @covers ::defineOptions
FieldTest::testDefineOptionsWithNoOptions function core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php @covers ::defineOptions
FieldTypePluginManager::getPreconfiguredOptions function core/lib/Drupal/Core/Field/FieldTypePluginManager.php Returns preconfigured field options for a field type.
FieldTypePluginManagerInterface::getPreconfiguredOptions function core/lib/Drupal/Core/Field/FieldTypePluginManagerInterface.php Returns preconfigured field options for a field type.
field_test_field_ui_preconfigured_options_alter function core/modules/field/tests/modules/field_test/field_test.module Implements hook_field_ui_preconfigured_options_alter().
File::buildOptionsForm function core/modules/file/src/Plugin/views/field/File.php Provide link to file option
File::defaultDisplayOptions function core/modules/file/src/Plugin/views/wizard/File.php Assembles the default display options for the view.
File::defineOptions function core/modules/file/src/Plugin/views/field/File.php Information about options for all kinds of purposes will be held here.
FileItem::getPreconfiguredOptions function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Returns preconfigured field options for a field type.
FileSize::buildOptionsForm function core/modules/views/src/Plugin/views/field/FileSize.php Default options form that provides the label widget that all fields
should have.
FileSize::defineOptions function core/modules/views/src/Plugin/views/field/FileSize.php Information about options for all kinds of purposes will be held here.
FilterFormat::getPossibleOptions function core/modules/filter/src/Plugin/DataType/FilterFormat.php Returns an array of possible values with labels for display.
FilterFormat::getSettableOptions function core/modules/filter/src/Plugin/DataType/FilterFormat.php Returns an array of settable values with labels for display.
FilterFormTest::assertOptions function core/modules/filter/tests/src/Functional/FilterFormTest.php Asserts that a select element has the correct options.
FilterFormTest::assertRequiredSelectAndOptions function core/modules/filter/tests/src/Functional/FilterFormTest.php Asserts that there is a select element with the given ID that is required.
FilterOptionsTest class core/modules/views_ui/tests/src/FunctionalJavascript/FilterOptionsTest.php Tests the JavaScript filtering of options in add handler form.
FilterOptionsTest.php file core/modules/views_ui/tests/src/FunctionalJavascript/FilterOptionsTest.php
FilterOptionsTest::$defaultTheme property core/modules/views_ui/tests/src/FunctionalJavascript/FilterOptionsTest.php The theme to install as the default for testing.
FilterOptionsTest::$modules property core/modules/views_ui/tests/src/FunctionalJavascript/FilterOptionsTest.php Modules to enable.
FilterOptionsTest::setUp function core/modules/views_ui/tests/src/FunctionalJavascript/FilterOptionsTest.php
FilterOptionsTest::testFilterOptionsAddFields function core/modules/views_ui/tests/src/FunctionalJavascript/FilterOptionsTest.php Tests filtering options in the 'Add fields' dialog.
FilterPluginBase::buildGroupOptions function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Provide default options for exposed filters.
FilterPluginBase::buildOptionsForm function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Provide the basic form which calls through to subforms.
If overridden, it is best to call through to the parent,
or to at least make sure all of the functions in this form
are called.
FilterPluginBase::defaultExposeOptions function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Provide default options for exposed filters.
FilterPluginBase::defineOptions function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Information about options for all kinds of purposes will be held here.
FilterPluginBase::operatorOptions function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Provide a list of options for the default operator form.
Should be overridden by classes that don't override operatorForm
FilterPluginBase::prepareFilterSelectOptions function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Sanitizes the HTML select element's options.
FilterPluginBase::submitOptionsForm function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Simple submit handler

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