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
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().
media_library_field_ui_preconfigured_options_alter function core/modules/media_library/media_library.module Implements hook_field_ui_preconfigured_options_alter().
MenuController::getParentOptions function core/modules/menu_ui/src/Controller/MenuController.php Gets all the available menus and menu items as a JavaScript array.
MenuLinkAdd::getOptions function core/modules/menu_ui/src/Plugin/Menu/LocalAction/MenuLinkAdd.php Returns options for rendering a link for the local action.
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 Test 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 Information about options for all kinds of purposes will be held here.
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 Child classes should be used to override this function and set the
'value options', unless 'options callback' is defined as a valid function
or static public method to generate these values.
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 The theme to install as the default for testing.
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 Child classes should be used to override this function and set the
'value options', unless 'options callback' is defined as a valid function
or static public method to generate these values.
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 Retrieves the block display options.
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 Assembles the default display options for the view.
Node::defineOptions function core/modules/node/src/Plugin/views/field/Node.php Information about options for all kinds of purposes will be held here.
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 Retrieves the page display options.
Node::rowStyleOptions function core/modules/node/src/Plugin/views/wizard/Node.php Retrieves row style plugin names.
NodeComment::getValueOptions function core/modules/comment/src/Plugin/views/filter/NodeComment.php Child classes should be used to override this function and set the
'value options', unless 'options callback' is defined as a valid function
or static public method to generate these values.
NodeNewComments::buildOptionsForm function core/modules/comment/src/Plugin/views/field/NodeNewComments.php Default options form that provides the label widget that all fields
should have.
NodeNewComments::defineOptions function core/modules/comment/src/Plugin/views/field/NodeNewComments.php Information about options for all kinds of purposes will be held here.
NodeRevision::buildDisplayOptions function core/modules/node/src/Plugin/views/wizard/NodeRevision.php Builds an array of display options for the view.
NodeRevision::defaultDisplayOptions function core/modules/node/src/Plugin/views/wizard/NodeRevision.php Assembles the default display options for the view.
NodeRevision::rowStyleOptions function core/modules/node/src/Plugin/views/wizard/NodeRevision.php Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::rowStyleOptions().
NodeRow::defineOptions function core/modules/node/src/Plugin/views/row/NodeRow.php Information about options for all kinds of purposes will be held here.
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 Information about options for all kinds of purposes will be held here.

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