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. Search main for options
  6. Other projects
Title Object type File name Summary
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.
MenuController::getParentOptions function core/modules/menu_ui/src/Controller/MenuController.php Gets all the available menus and menu items as a JavaScript array.
MenuLinkBase::getOptions function core/lib/Drupal/Core/Menu/MenuLinkBase.php Returns the options for this link.
MenuLinkContentTest::testLinkOptionsSerialization function core/modules/jsonapi/tests/src/Functional/MenuLinkContentTest.php Tests requests using a serialized field item property.
MenuLinkInterface::getOptions function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the options for this link.
MenuLinkTreeElement::$options property core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Additional options for this link.
MenuParentFormSelector::getMenuOptions function core/lib/Drupal/Core/Menu/MenuParentFormSelector.php Gets a list of menu names for use as options.
MenuParentFormSelector::getParentSelectOptions function core/lib/Drupal/Core/Menu/MenuParentFormSelector.php Gets the options for a select element to choose a menu and parent.
MenuParentFormSelector::parentSelectOptionsTreeWalk function core/lib/Drupal/Core/Menu/MenuParentFormSelector.php Iterates over all items in the tree to prepare the parents select options.
MenuParentFormSelectorInterface::getParentSelectOptions function core/lib/Drupal/Core/Menu/MenuParentFormSelectorInterface.php Gets the options for a select element to choose a menu and parent.
MenuTreeStorage::$options property core/lib/Drupal/Core/Menu/MenuTreeStorage.php Additional database connection options to use in queries.
MessageCommand::$options property core/lib/Drupal/Core/Ajax/MessageCommand.php The options passed to Drupal.message().add().
Messages::defineOptions function core/modules/views/src/Plugin/views/area/Messages.php
Mini::defineOptions function core/modules/views/src/Plugin/views/pager/Mini.php Overrides \Drupal\views\Plugin\views\pager\PagerPlugin::defineOptions().
ModerationStateFilter::getValueOptions function core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php
ModuleTest::formatViewOptions function core/modules/views/tests/src/Kernel/ModuleTest.php Helper to return an expected views option array.
MultiStepNodeFormBasicOptionsTest class core/modules/node/tests/src/Functional/MultiStepNodeFormBasicOptionsTest.php Tests the persistence of basic options through multiple steps.
MultiStepNodeFormBasicOptionsTest.php file core/modules/node/tests/src/Functional/MultiStepNodeFormBasicOptionsTest.php
MultiStepNodeFormBasicOptionsTest::$defaultTheme property core/modules/node/tests/src/Functional/MultiStepNodeFormBasicOptionsTest.php
MultiStepNodeFormBasicOptionsTest::$fieldName property core/modules/node/tests/src/Functional/MultiStepNodeFormBasicOptionsTest.php The field name to create.
MultiStepNodeFormBasicOptionsTest::testMultiStepNodeFormBasicOptions function core/modules/node/tests/src/Functional/MultiStepNodeFormBasicOptionsTest.php Tests changing the default values of basic options to ensure they persist.
MultiWidthLayoutBase::getWidthOptions function core/modules/layout_builder/src/Plugin/Layout/MultiWidthLayoutBase.php Gets the width options for the configuration form.
Name::getValueOptions function core/modules/user/src/Plugin/views/filter/Name.php Gets the value options.
NavigationLogoTest::testSettingsLogoOptionsForm function core/modules/navigation/tests/src/Functional/NavigationLogoTest.php Tests Navigation logo configuration base options.
node.type.options_install_test.yml file core/modules/options/tests/options_config_install_test/config/install/node.type.options_install_test.yml core/modules/options/tests/options_config_install_test/config/install/node.type.options_install_test.yml
Node::blockDisplayOptions function core/modules/node/src/Plugin/views/wizard/Node.php
Node::buildOptionsForm function core/modules/node/src/Plugin/views/field/Node.php Provide link to node option.
Node::defaultDisplayOptions function core/modules/node/src/Plugin/views/wizard/Node.php
Node::defineOptions function core/modules/node/src/Plugin/views/field/Node.php
Node::display_options_row function core/modules/node/src/Plugin/views/wizard/Node.php Set the row style and row style plugins to the display_options.
Node::pageDisplayOptions function core/modules/node/src/Plugin/views/wizard/Node.php
Node::rowStyleOptions function core/modules/node/src/Plugin/views/wizard/Node.php
NodeComment::getValueOptions function core/modules/comment/src/Plugin/views/filter/NodeComment.php Gets the value options.
NodeNewComments::buildOptionsForm function core/modules/history/src/Plugin/views/field/NodeNewComments.php
NodeNewComments::defineOptions function core/modules/history/src/Plugin/views/field/NodeNewComments.php
NodeRevision::buildDisplayOptions function core/modules/node/src/Plugin/views/wizard/NodeRevision.php
NodeRevision::defaultDisplayOptions function core/modules/node/src/Plugin/views/wizard/NodeRevision.php
NodeRevision::rowStyleOptions function core/modules/node/src/Plugin/views/wizard/NodeRevision.php
NodeRow::defineOptions function core/modules/node/src/Plugin/views/row/NodeRow.php
NodeTermData::buildOptionsForm function core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php Provide a form to edit options for this plugin.
NodeTermData::defineOptions function core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php Information about options for all kinds of purposes will be held here.
NodeTermData::submitOptionsForm function core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php Handle any special handling on the validate form.
None::buildOptionsForm function core/modules/views/src/Plugin/views/pager/None.php Provide the default form for setting options.
None::defineOptions function core/modules/views/src/Plugin/views/pager/None.php
NullArgument::buildOptionsForm function core/modules/views/src/Plugin/views/argument/NullArgument.php
NullArgument::defineOptions function core/modules/views/src/Plugin/views/argument/NullArgument.php
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
NumberListField::defineOptions function core/modules/options/src/Plugin/views/argument/NumberListField.php

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