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. Other projects
Title Object type File name Summary
OptionsFloatFieldImportTest::$defaultTheme property core/modules/options/tests/src/Functional/OptionsFloatFieldImportTest.php The theme to install as the default for testing.
OptionsFloatFieldImportTest::$modules property core/modules/options/tests/src/Functional/OptionsFloatFieldImportTest.php Modules to install.
OptionsFloatFieldImportTest::setUp function core/modules/options/tests/src/Functional/OptionsFloatFieldImportTest.php
OptionsFloatFieldImportTest::testImport function core/modules/options/tests/src/Functional/OptionsFloatFieldImportTest.php Tests that importing list_float fields works.
OptionsFormattersTest class core/modules/options/tests/src/Kernel/OptionsFormattersTest.php Tests the Options field type formatters.
OptionsFormattersTest.php file core/modules/options/tests/src/Kernel/OptionsFormattersTest.php
OptionsFormattersTest::setUp function core/modules/options/tests/src/Kernel/OptionsFormattersTest.php Set the default field storage backend for fields created during tests.
OptionsFormattersTest::testFormatter function core/modules/options/tests/src/Kernel/OptionsFormattersTest.php Tests the formatters.
OptionsHooks class core/modules/options/src/Hook/OptionsHooks.php Hook implementations for options.
OptionsHooks.php file core/modules/options/src/Hook/OptionsHooks.php
OptionsHooks::fieldStorageConfigDelete function core/modules/options/src/Hook/OptionsHooks.php Implements hook_ENTITY_TYPE_delete() for 'field_storage_config'.
OptionsHooks::fieldStorageConfigUpdate function core/modules/options/src/Hook/OptionsHooks.php Implements hook_ENTITY_TYPE_update() for 'field_storage_config'.
OptionsHooks::fieldStorageConfigUpdateForbid function core/modules/options/src/Hook/OptionsHooks.php Implements hook_field_storage_config_update_forbid().
OptionsHooks::help function core/modules/options/src/Hook/OptionsHooks.php Implements hook_help().
OptionsKeyFormatter class core/modules/options/src/Plugin/Field/FieldFormatter/OptionsKeyFormatter.php Plugin implementation of the 'list_key' formatter.
OptionsKeyFormatter.php file core/modules/options/src/Plugin/Field/FieldFormatter/OptionsKeyFormatter.php
OptionsKeyFormatter::viewElements function core/modules/options/src/Plugin/Field/FieldFormatter/OptionsKeyFormatter.php Builds a renderable array for a field value.
OptionsListArgumentTest class core/modules/options/tests/src/Kernel/Views/OptionsListArgumentTest.php Tests options list argument for views.
OptionsListArgumentTest.php file core/modules/options/tests/src/Kernel/Views/OptionsListArgumentTest.php
OptionsListArgumentTest::$testViews property core/modules/options/tests/src/Kernel/Views/OptionsListArgumentTest.php Views used by this test.
OptionsListArgumentTest::testViewsTestOptionsListArgument function core/modules/options/tests/src/Kernel/Views/OptionsListArgumentTest.php Tests the options field argument.
OptionsListFilterTest class core/modules/options/tests/src/Kernel/Views/OptionsListFilterTest.php Tests options list filter for views.
OptionsListFilterTest.php file core/modules/options/tests/src/Kernel/Views/OptionsListFilterTest.php
OptionsListFilterTest::$testViews property core/modules/options/tests/src/Kernel/Views/OptionsListFilterTest.php Views used by this test.
OptionsListFilterTest::testViewsTestOptionsListFilter function core/modules/options/tests/src/Kernel/Views/OptionsListFilterTest.php Tests options list field filter.
OptionsListFilterTest::testViewsTestOptionsListGroupedFilter function core/modules/options/tests/src/Kernel/Views/OptionsListFilterTest.php Tests options list field filter when grouped.
OptionsProviderInterface interface core/lib/Drupal/Core/TypedData/OptionsProviderInterface.php Interface for retrieving all possible and settable values.
OptionsProviderInterface.php file core/lib/Drupal/Core/TypedData/OptionsProviderInterface.php
OptionsProviderInterface::getPossibleOptions function core/lib/Drupal/Core/TypedData/OptionsProviderInterface.php Returns an array of possible values with labels for display.
OptionsProviderInterface::getPossibleValues function core/lib/Drupal/Core/TypedData/OptionsProviderInterface.php Returns an array of possible values.
OptionsProviderInterface::getSettableOptions function core/lib/Drupal/Core/TypedData/OptionsProviderInterface.php Returns an array of settable values with labels for display.
OptionsProviderInterface::getSettableValues function core/lib/Drupal/Core/TypedData/OptionsProviderInterface.php Returns an array of settable values.
OptionsRequestSubscriber class core/lib/Drupal/Core/EventSubscriber/OptionsRequestSubscriber.php Handles options requests.
OptionsRequestSubscriber.php file core/lib/Drupal/Core/EventSubscriber/OptionsRequestSubscriber.php
OptionsRequestSubscriber::$routeProvider property core/lib/Drupal/Core/EventSubscriber/OptionsRequestSubscriber.php The route provider.
OptionsRequestSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/OptionsRequestSubscriber.php
OptionsRequestSubscriber::onRequest function core/lib/Drupal/Core/EventSubscriber/OptionsRequestSubscriber.php Tries to handle the options request.
OptionsRequestSubscriber::__construct function core/lib/Drupal/Core/EventSubscriber/OptionsRequestSubscriber.php Creates a new OptionsRequestSubscriber instance.
OptionsRequestSubscriberTest class core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php @coversDefaultClass \Drupal\Core\EventSubscriber\OptionsRequestSubscriber
@group EventSubscriber
OptionsRequestSubscriberTest.php file core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php
OptionsRequestSubscriberTest::providerTestOnRequestWithOptionsRequest function core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php
OptionsRequestSubscriberTest::testWithNonOptionRequest function core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php @covers ::onRequest
OptionsRequestSubscriberTest::testWithOptionsRequest function core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php @covers ::onRequest
@dataProvider providerTestOnRequestWithOptionsRequest
OptionsRequestSubscriberTest::testWithoutMatchingRoutes function core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php @covers ::onRequest
OptionsSelectDynamicValuesTest class core/modules/options/tests/src/Functional/OptionsSelectDynamicValuesTest.php Tests an options select with a dynamic allowed values function.
OptionsSelectDynamicValuesTest.php file core/modules/options/tests/src/Functional/OptionsSelectDynamicValuesTest.php
OptionsSelectDynamicValuesTest::$defaultTheme property core/modules/options/tests/src/Functional/OptionsSelectDynamicValuesTest.php The theme to install as the default for testing.
OptionsSelectDynamicValuesTest::testSelectListDynamic function core/modules/options/tests/src/Functional/OptionsSelectDynamicValuesTest.php Tests the 'options_select' widget (single select).
OptionsSelectWidget class core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsSelectWidget.php Plugin implementation of the 'options_select' widget.
OptionsSelectWidget.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsSelectWidget.php

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