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
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.
Should be overridden by classes that don't override operatorForm
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 options form that provides the 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 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.
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.
If overridden, it is best to call through to the parent,
or to at least make sure all of the functions in this form
are called.
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.
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/Driver/sqlite/Connection.php Creates an array of database connection options from a URL.
Connection::createConnectionOptionsFromUrl function core/lib/Drupal/Core/Database/Connection.php Creates an array of database connection options from a URL.
Connection::createUrlFromConnectionOptions function core/lib/Drupal/Core/Database/Connection.php Creates a URL from an array of database connection options.
Connection::createUrlFromConnectionOptions function core/lib/Drupal/Core/Database/Driver/sqlite/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/tests/Drupal/Tests/Core/Database/Driver/sqlite/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/tests/Drupal/Tests/Core/Database/Driver/sqlite/ConnectionTest.php @covers ::createConnectionOptionsFromUrl
@dataProvider providerCreateConnectionOptionsFromUrl
ContactLink::buildOptionsForm function core/modules/contact/src/Plugin/views/field/ContactLink.php Default options form that provides the 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 options form that provides the 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 options form that provides the 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 options form that provides the label widget that all fields
should have.
Custom::defineOptions function core/modules/views/src/Plugin/views/field/Custom.php Information about options for all kinds of purposes will be held here.
DatabaseLegacyTest::testDbOptionsTarget function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the $options 'target' key in Connection::query.

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