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
Url::setOptions function core/lib/Drupal/Core/Url.php Sets the URL options.
UrlGeneratorTest::providerTestAliasGenerationWithOptions function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Provides test data for testAliasGenerationWithOptions.
UrlGeneratorTest::testAliasGenerationWithOptions function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Confirms that generated routes will have aliased paths with options.
UrlTest::testGetOptions function core/tests/Drupal/Tests/Core/UrlTest.php Tests the getOptions() method.
UrlTest::testMergeOptions function core/tests/Drupal/Tests/Core/UrlTest.php Tests the mergeOptions() method.
UrlTest::testSetOptions function core/tests/Drupal/Tests/Core/UrlTest.php Tests the setOptions() method.
User::buildOptionsForm function core/modules/user/src/Plugin/views/argument_validator/User.php Provides the default form for setting options.
User::buildOptionsForm function core/modules/user/src/Plugin/views/argument_default/User.php Provide the default form for setting options.
User::defineOptions function core/modules/user/src/Plugin/views/argument_validator/User.php Retrieves the options when this is a new access control plugin.
User::defineOptions function core/modules/user/src/Plugin/views/argument_default/User.php Retrieve the options when this is a new access
control plugin
User::submitOptionsForm function core/modules/user/src/Plugin/views/argument_validator/User.php Provides the default form for submitting options.
UserData::buildOptionsForm function core/modules/user/src/Plugin/views/field/UserData.php Default options form that provides the label widget that all fields
should have.
UserData::defineOptions function core/modules/user/src/Plugin/views/field/UserData.php Information about options for all kinds of purposes will be held here.
UserName::buildOptionsForm function core/modules/user/src/Plugin/views/argument_validator/UserName.php Provides the default form for setting options.
UserRow::defineOptions function core/modules/user/src/Plugin/views/row/UserRow.php Information about options for all kinds of purposes will be held here.
Users::defaultDisplayOptions function core/modules/user/src/Plugin/views/wizard/Users.php Assembles the default display options for the view.
View::buildOptionsForm function core/modules/views/src/Plugin/views/area/View.php Provide a form to edit options for this plugin.
View::defineOptions function core/modules/views/src/Plugin/views/area/View.php Information about options for all kinds of purposes will be held here.
View::mergeDefaultDisplaysOptions function core/modules/views/src/Entity/View.php Add defaults to the display options.
ViewEditTest::testEditFormLanguageOptions function core/modules/views_ui/tests/src/Functional/ViewEditTest.php Tests the language options on the views edit form.
ViewEditTest::testOtherOptions function core/modules/views_ui/tests/src/Functional/ViewEditTest.php Tests the machine name and administrative comment forms.
ViewEntityInterface::mergeDefaultDisplaysOptions function core/modules/views/src/ViewEntityInterface.php Add defaults to the display options.
views.view.test_options_list_argument_numeric.yml file core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_argument_numeric.yml core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_argument_numeric.yml
views.view.test_options_list_argument_string.yml file core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_argument_string.yml core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_argument_string.yml
views.view.test_options_list_filter.yml file core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_filter.yml core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_filter.yml
Views::getViewsAsOptions function core/modules/views/src/Views.php Returns an array of view as options array, that can be used by select,
checkboxes and radios as #options.
ViewsDataTest::testOptionsFieldViewsData function core/modules/options/tests/src/Kernel/Views/ViewsDataTest.php Tests the option module's implementation of hook_field_views_data().
ViewsPluginInterface::buildOptionsForm function core/modules/views/src/Plugin/views/ViewsPluginInterface.php Provide a form to edit options for this plugin.
ViewsPluginInterface::filterByDefinedOptions function core/modules/views/src/Plugin/views/ViewsPluginInterface.php Filter out stored options depending on the defined options.
ViewsPluginInterface::submitOptionsForm function core/modules/views/src/Plugin/views/ViewsPluginInterface.php Handle any special handling on the validate form.
ViewsPluginInterface::unpackOptions function core/modules/views/src/Plugin/views/ViewsPluginInterface.php Unpack options over our existing defaults, drilling down into arrays
so that defaults don't get totally blown away.
ViewsPluginInterface::usesOptions function core/modules/views/src/Plugin/views/ViewsPluginInterface.php Returns the usesOptions property.
ViewsPluginInterface::validateOptionsForm function core/modules/views/src/Plugin/views/ViewsPluginInterface.php Validate the options form.
ViewUI::$temporary_options property core/modules/views_ui/src/ViewUI.php Stores options temporarily while editing.
ViewUI::mergeDefaultDisplaysOptions function core/modules/views_ui/src/ViewUI.php Add defaults to the display options.
Watchdog::defaultDisplayOptions function core/modules/dblog/src/Plugin/views/wizard/Watchdog.php Assembles the default display options for the view.
WebTestBase::$additionalCurlOptions property core/modules/simpletest/src/WebTestBase.php Additional cURL options.
WidgetPluginManager::$widgetOptions property core/lib/Drupal/Core/Field/WidgetPluginManager.php An array of widget options for each field type.
WidgetPluginManager::getOptions function core/lib/Drupal/Core/Field/WidgetPluginManager.php Returns an array of widget type options for a field type.
WizardPluginBase::alterDisplayOptions function core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php Alters the full array of display options before they are added to the view.
WizardPluginBase::blockDisplayOptions function core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php Retrieves the block display options.
WizardPluginBase::buildDisplayOptions function core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php Builds an array of display options for the view.
WizardPluginBase::defaultDisplayOptions function core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php Assembles the default display options for the view.
WizardPluginBase::pageDisplayOptions function core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php Retrieves the page display options.
WizardPluginBase::pageFeedDisplayOptions function core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php Retrieves the feed display options.
WizardPluginBase::restExportDisplayOptions function core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php Retrieves the REST export display options from the submitted form values.
WizardPluginBase::rowStyleOptions function core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php Retrieves row style plugin names.
WizardPluginBase::setDefaultOptions function core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php Sets options for a display and makes them the default options if possible.
WizardPluginBase::setOverrideOptions function core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php Sets options for a display, inheriting from the defaults when possible.
_locale_translation_default_update_options function core/modules/locale/locale.translation.inc Returns default import options for translation update.

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