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
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.
FieldLabelOptionsTrait trait core/modules/field/src/FieldLabelOptionsTrait.php Provides a trait for the valid field label options.
FieldLabelOptionsTrait.php file core/modules/field/src/FieldLabelOptionsTrait.php
FieldLabelOptionsTrait::getFieldLabelOptions function core/modules/field/src/FieldLabelOptionsTrait.php Returns an array of visibility options for field labels.
FieldPluginBase::buildOptionsForm function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Default option form that provides label widget that all fields should have.
FieldPluginBase::defineOptions function core/modules/views/src/Plugin/views/field/FieldPluginBase.php
FieldPluginBase::submitOptionsForm function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Performs some cleanup tasks on the options array before saving it.
FieldPluginBaseTest::DEFAULT_URL_OPTIONS constant 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 Tests 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
Fields::submitOptionsForm function core/modules/views/src/Plugin/views/row/Fields.php Perform any necessary changes to the form values prior to storage.
FieldStorageAddForm::addFieldOptionsForGroup function core/modules/field_ui/src/Form/FieldStorageAddForm.php Adds field types for the selected group to the form.
FieldStorageAddForm::addGroupFieldOptions function core/modules/field_ui/src/Form/FieldStorageAddForm.php Adds ungrouped field types and field type groups to the form.
FieldStorageAddForm::rebuildWithOptions function core/modules/field_ui/src/Form/FieldStorageAddForm.php Submit handler for displaying fields after a group is selected.
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.
FieldStorageReuseForm::getExistingFieldStorageOptions function core/modules/field_ui/src/Form/FieldStorageReuseForm.php Returns an array of existing field storages that can be added to a bundle.
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
FieldTestHooks::fieldUiPreconfiguredOptionsAlter function core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php Implements hook_field_ui_preconfigured_options_alter().
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.
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
File::defineOptions function core/modules/file/src/Plugin/views/field/File.php
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
FileSize::defineOptions function core/modules/views/src/Plugin/views/field/FileSize.php
FilterEntityReferenceWebTest::getUiOptions function core/modules/views_ui/tests/src/Functional/FilterEntityReferenceWebTest.php Helper method to parse options from the UI.
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
FilterOptionsTest::$modules property core/modules/views_ui/tests/src/FunctionalJavascript/FilterOptionsTest.php
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.
FilterPluginBase::defaultExposeOptions function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Provide default options for exposed filters.

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