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
LanguageItem::getSettableOptions function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php Returns an array of settable values with labels for display.
LanguageSelectElementTest::testLanguageSelectElementOptions function core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php Tests that the options printed by the language select element are correct.
LanguageSelectElementTest::_testLanguageSelectElementOptions function core/modules/system/tests/src/Functional/Form/LanguageSelectElementTest.php Helper function to check the options of a language select form element.
LayoutPluginManager::getLayoutOptions function core/lib/Drupal/Core/Layout/LayoutPluginManager.php Returns an array of layout labels grouped by category.
LayoutPluginManagerInterface::getLayoutOptions function core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php Returns an array of layout labels grouped by category.
LinkBase::buildOptionsForm function core/modules/views/src/Plugin/views/field/LinkBase.php Default option form that provides label widget that all fields should have.
LinkBase::defineOptions function core/modules/views/src/Plugin/views/field/LinkBase.php Information about options for all kinds of purposes will be held here.
LinkGeneratorTest::$defaultOptions property core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Contains the LinkGenerator default options.
LinkGeneratorTest::testGenerateOptions function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with arbitrary passed options.
LinkOptions class core/modules/menu_link_content/src/Plugin/migrate/process/LinkOptions.php Converts links options.
LinkOptions.php file core/modules/menu_link_content/src/Plugin/migrate/process/LinkOptions.php
LinkOptions::transform function core/modules/menu_link_content/src/Plugin/migrate/process/LinkOptions.php Performs the associated process.
Links::buildOptionsForm function core/modules/views/src/Plugin/views/field/Links.php Default option form that provides label widget that all fields should have.
Links::defineOptions function core/modules/views/src/Plugin/views/field/Links.php Information about options for all kinds of purposes will be held here.
ListItemBase::getPossibleOptions function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Returns an array of possible values with labels for display.
ListItemBase::getSettableOptions function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Returns an array of settable values with labels for display.
LocalActionDefault::getOptions function core/lib/Drupal/Core/Menu/LocalActionDefault.php Returns options for rendering a link for the local action.
LocalActionInterface::getOptions function core/lib/Drupal/Core/Menu/LocalActionInterface.php Returns options for rendering a link for the local action.
LocalTaskDefault::getOptions function core/lib/Drupal/Core/Menu/LocalTaskDefault.php Returns options for rendering a link to the local task.
LocalTaskDefaultTest::testGetOptions function core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php @covers ::getOptions
LocalTaskInterface::getOptions function core/lib/Drupal/Core/Menu/LocalTaskInterface.php Returns options for rendering a link to the local task.
MachineName::$valueOptions property core/modules/views/src/Plugin/views/field/MachineName.php Stores the available options.
MachineName::buildOptionsForm function core/modules/views/src/Plugin/views/field/MachineName.php Default option form that provides label widget that all fields should have.
MachineName::defineOptions function core/modules/views/src/Plugin/views/field/MachineName.php Information about options for all kinds of purposes will be held here.
MachineName::getValueOptions function core/modules/views/src/Plugin/views/field/MachineName.php
ManageDisplayTest::assertFieldSelectOptions function core/modules/field_ui/tests/src/FunctionalJavascript/ManageDisplayTest.php Checks if a select element contains the specified options.
ManageDisplayTest::assertFieldSelectOptions function core/modules/field_ui/tests/src/Functional/ManageDisplayTest.php Checks if a select element contains the specified options.
ManageDisplayTest::getAllOptionsList function core/modules/field_ui/tests/src/Functional/ManageDisplayTest.php Extracts all options from a select element.
ManageOptions class composer/Plugin/Scaffold/ManageOptions.php Per-project options from the 'extras' section of the composer.json file.
ManageOptions.php file composer/Plugin/Scaffold/ManageOptions.php
ManageOptions::$composer property composer/Plugin/Scaffold/ManageOptions.php The Composer service.
ManageOptions::ensureLocations function composer/Plugin/Scaffold/ManageOptions.php Ensures that all of the locations defined in the scaffold files exist.
ManageOptions::getLocationReplacements function composer/Plugin/Scaffold/ManageOptions.php Creates an interpolator for the 'locations' element.
ManageOptions::getOptions function composer/Plugin/Scaffold/ManageOptions.php Gets the root-level scaffold options for this project.
ManageOptions::packageOptions function composer/Plugin/Scaffold/ManageOptions.php Gets the scaffold options for the stipulated project.
ManageOptions::__construct function composer/Plugin/Scaffold/ManageOptions.php ManageOptions constructor.
ManyToOne::buildOptionsForm function core/modules/views/src/Plugin/views/argument/ManyToOne.php Provide a form to edit options for this plugin.
ManyToOne::defineOptions function core/modules/views/src/Plugin/views/filter/ManyToOne.php Information about options for all kinds of purposes will be held here.
ManyToOne::defineOptions function core/modules/views/src/Plugin/views/argument/ManyToOne.php Information about options for all kinds of purposes will be held here.
ManyToOneHelper::buildOptionsForm function core/modules/views/src/ManyToOneHelper.php
ManyToOneHelper::defineOptions function core/modules/views/src/ManyToOneHelper.php
Mapping::buildOptionsForm function core/modules/views/src/Plugin/views/style/Mapping.php Provide a form to edit options for this plugin.
Mapping::defineOptions function core/modules/views/src/Plugin/views/style/Mapping.php Information about options for all kinds of purposes will be held here.
Media::defaultDisplayOptions function core/modules/media/src/Plugin/views/wizard/Media.php Assembles the default display options for the view.
MediaEmbed::validateOptions function core/modules/media/src/Plugin/Filter/MediaEmbed.php Form element validation handler.
MediaLibraryUiBuilder::dialogOptions function core/modules/media_library/src/MediaLibraryUiBuilder.php Get media library dialog options.
MediaRevision::defaultDisplayOptions function core/modules/media/src/Plugin/views/wizard/MediaRevision.php Assembles the default display options for the view.
MediaSourceBase::getSourceFieldOptions function core/modules/media/src/MediaSourceBase.php Get the source field options for the media type form.
MediaTypeForm::getWorkflowOptions function core/modules/media/src/MediaTypeForm.php Prepares workflow options to be used in the 'checkboxes' form element.
media_field_ui_preconfigured_options_alter function core/modules/media/media.module Implements hook_field_ui_preconfigured_options_alter().

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