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
BooleanItem::getPossibleOptions function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/BooleanItem.php Returns an array of possible values with labels for display.
BooleanItem::getSettableOptions function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/BooleanItem.php Returns an array of settable values with labels for display.
BooleanOperator::defaultExposeOptions function core/modules/views/src/Plugin/views/filter/BooleanOperator.php Provide default options for exposed filters.
BooleanOperator::defineOptions function core/modules/views/src/Plugin/views/filter/BooleanOperator.php Information about options for all kinds of purposes will be held here.
BooleanOperator::getValueOptions function core/modules/views/src/Plugin/views/filter/BooleanOperator.php Return the possible options for this filter.
BooleanOperator::operatorOptions function core/modules/views/src/Plugin/views/filter/BooleanOperator.php Provide a list of options for the default operator form.
BrokenHandlerTrait::buildOptionsForm function core/modules/views/src/Plugin/views/BrokenHandlerTrait.php Provides a form to edit options for this plugin.
BrokenHandlerTrait::defineOptions function core/modules/views/src/Plugin/views/BrokenHandlerTrait.php The option definition for this handler.
BrowserTestBase::getOptions function core/tests/Drupal/Tests/BrowserTestBase.php Helper function to get the options of select field.
BrowserTestBaseTest::testFieldAssertsForOptions function core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php Tests legacy field asserts for options field type.
BulkForm::buildOptionsForm function core/modules/views/src/Plugin/views/field/BulkForm.php Default option form that provides label widget that all fields should have.
BulkForm::defineOptions function core/modules/views/src/Plugin/views/field/BulkForm.php Information about options for all kinds of purposes will be held here.
BulkForm::getBulkOptions function core/modules/views/src/Plugin/views/field/BulkForm.php Returns the available operations for this form.
BulkForm::validateOptionsForm function core/modules/views/src/Plugin/views/field/BulkForm.php Validate the options form.
Bundle::getValueOptions function core/modules/views/src/Plugin/views/filter/Bundle.php Gets the value options.
BundleConstraint::getRequiredOptions function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php
ClientFactory::fromOptions function core/lib/Drupal/Core/Http/ClientFactory.php Constructs a new client object from some configuration.
ClientFactoryTest::providerTestCreateFromOptions function core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php Data provider for testCreateFromOptions.
ClientFactoryTest::testCreateFromOptions function core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php @covers ::fromOptions
@dataProvider providerTestCreateFromOptions
Combine::buildOptionsForm function core/modules/views/src/Plugin/views/filter/Combine.php Provide the basic form which calls through to subforms.
Combine::defineOptions function core/modules/views/src/Plugin/views/filter/Combine.php Information about options for all kinds of purposes will be held here.
Comment::defaultDisplayOptions function core/modules/comment/src/Plugin/views/wizard/Comment.php Assembles the default display options for the view.
Comment::rowStyleOptions function core/modules/comment/src/Plugin/views/wizard/Comment.php Retrieves row style plugin names.
CompiledRoute::getOptions function core/lib/Drupal/Core/Routing/CompiledRoute.php Returns the options.
CompiledRouteLegacyTest::testOptionsDeprecated function core/tests/Drupal/Tests/Core/Routing/CompiledRouteLegacyTest.php Tests for deprecated message and no PHP error.
CompiledRouteLegacyTest::testOptionsDynamicallySet function core/tests/Drupal/Tests/Core/Routing/CompiledRouteLegacyTest.php Tests to make sure we get an array when dynamically setting.
ComplexDataConstraint::getRequiredOptions function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraint.php
Connection::$connectionOptions property core/lib/Drupal/Core/Database/Connection.php The connection information for this connection object.
Connection::createConnectionOptionsFromUrl function core/lib/Drupal/Core/Database/Connection.php Creates an array of database connection options from a URL.
Connection::createConnectionOptionsFromUrl function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php Creates an array of database connection options from a URL.
Connection::createUrlFromConnectionOptions function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php Creates a URL from an array of database connection options.
Connection::createUrlFromConnectionOptions function core/lib/Drupal/Core/Database/Connection.php Creates a URL from an array of database connection options.
Connection::defaultOptions function core/lib/Drupal/Core/Database/Connection.php Returns the default query options for any given query.
Connection::getConnectionOptions function core/lib/Drupal/Core/Database/Connection.php Returns the connection information for this connection object.
ConnectionTest::providerCreateConnectionOptionsFromUrl function core/modules/sqlite/tests/src/Unit/ConnectionTest.php Data provider for testCreateConnectionOptionsFromUrl.
ConnectionTest::testConnectionOptions function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests the connection options of the active database.
ConnectionTest::testCreateConnectionOptionsFromUrl function core/modules/sqlite/tests/src/Unit/ConnectionTest.php @covers ::createConnectionOptionsFromUrl
@dataProvider providerCreateConnectionOptionsFromUrl
ContactLink::buildOptionsForm function core/modules/contact/src/Plugin/views/field/ContactLink.php Default option form that provides label widget that all fields should have.
ContextualLinkDefault::getOptions function core/lib/Drupal/Core/Menu/ContextualLinkDefault.php Returns the link options passed to the link generator.
ContextualLinkDefaultTest::testGetOptions function core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php @covers ::getOptions
ContextualLinkInterface::getOptions function core/lib/Drupal/Core/Menu/ContextualLinkInterface.php Returns the link options passed to the link generator.
ContextualLinks::buildOptionsForm function core/modules/contextual/src/Plugin/views/field/ContextualLinks.php Default option form that provides label widget that all fields should have.
ContextualLinks::defineOptions function core/modules/contextual/src/Plugin/views/field/ContextualLinks.php Information about options for all kinds of purposes will be held here.
CookieResourceTestTrait::getAuthenticationRequestOptions function core/modules/rest/tests/src/Functional/CookieResourceTestTrait.php
core.entity_form_display.node.options_install_test.default.yml file core/modules/options/tests/options_config_install_test/config/install/core.entity_form_display.node.options_install_test.default.yml core/modules/options/tests/options_config_install_test/config/install/core.entity_form_display.node.options_install_test.default.yml
core.entity_view_display.node.options_install_test.default.yml file core/modules/options/tests/options_config_install_test/config/install/core.entity_view_display.node.options_install_test.default.yml core/modules/options/tests/options_config_install_test/config/install/core.entity_view_display.node.options_install_test.default.yml
core.entity_view_display.node.options_install_test.teaser.yml file core/modules/options/tests/options_config_install_test/config/install/core.entity_view_display.node.options_install_test.teaser.yml core/modules/options/tests/options_config_install_test/config/install/core.entity_view_display.node.options_install_test.teaser.yml
Counter::buildOptionsForm function core/modules/views/src/Plugin/views/field/Counter.php Default option form that provides label widget that all fields should have.
Counter::defineOptions function core/modules/views/src/Plugin/views/field/Counter.php Information about options for all kinds of purposes will be held here.
Custom::buildOptionsForm function core/modules/views/src/Plugin/views/field/Custom.php Default option form that provides label widget that all fields should have.

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