Search for options
- Search 7.x for options
- Search 9.5.x for options
- Search 10.3.x for options
- Search 11.x for options
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
OptionsProviderInterface | interface | core/ |
Interface for retrieving all possible and settable values. |
OptionsProviderInterface.php | file | core/ |
|
OptionsProviderInterface::getPossibleOptions | function | core/ |
Returns an array of possible values with labels for display. |
OptionsProviderInterface::getPossibleValues | function | core/ |
Returns an array of possible values. |
OptionsProviderInterface::getSettableOptions | function | core/ |
Returns an array of settable values with labels for display. |
OptionsProviderInterface::getSettableValues | function | core/ |
Returns an array of settable values. |
OptionsRequestSubscriber | class | core/ |
Handles options requests. |
OptionsRequestSubscriber.php | file | core/ |
|
OptionsRequestSubscriber::$routeProvider | property | core/ |
The route provider. |
OptionsRequestSubscriber::getSubscribedEvents | function | core/ |
|
OptionsRequestSubscriber::onRequest | function | core/ |
Tries to handle the options request. |
OptionsRequestSubscriber::__construct | function | core/ |
Creates a new OptionsRequestSubscriber instance. |
OptionsRequestSubscriberTest | class | core/ |
@coversDefaultClass \Drupal\Core\EventSubscriber\OptionsRequestSubscriber @group EventSubscriber |
OptionsRequestSubscriberTest.php | file | core/ |
|
OptionsRequestSubscriberTest::providerTestOnRequestWithOptionsRequest | function | core/ |
|
OptionsRequestSubscriberTest::testWithNonOptionRequest | function | core/ |
@covers ::onRequest |
OptionsRequestSubscriberTest::testWithOptionsRequest | function | core/ |
@covers ::onRequest @dataProvider providerTestOnRequestWithOptionsRequest |
OptionsRequestSubscriberTest::testWithoutMatchingRoutes | function | core/ |
@covers ::onRequest |
OptionsSelectDynamicValuesTest | class | core/ |
Tests an options select with a dynamic allowed values function. |
OptionsSelectDynamicValuesTest.php | file | core/ |
|
OptionsSelectDynamicValuesTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
OptionsSelectDynamicValuesTest::testSelectListDynamic | function | core/ |
Tests the 'options_select' widget (single select). |
OptionsSelectWidget | class | core/ |
Plugin implementation of the 'options_select' widget. |
OptionsSelectWidget.php | file | core/ |
|
OptionsSelectWidget::formElement | function | core/ |
Returns the form for a single field widget. |
OptionsSelectWidget::getEmptyLabel | function | core/ |
Returns the empty option label to add to the list of options, if any. |
OptionsSelectWidget::sanitizeLabel | function | core/ |
Sanitizes a string label to display as an option. |
OptionsSelectWidget::supportsGroups | function | core/ |
Indicates whether the widgets support optgroups. |
OptionsTestBase | class | core/ |
Base class for options views tests. |
OptionsTestBase.php | file | core/ |
|
OptionsTestBase::$fieldNames | property | core/ |
The used field names. |
OptionsTestBase::$fieldValues | property | core/ |
Stores the field values used for the different tests. |
OptionsTestBase::$modules | property | core/ |
Modules to enable. |
OptionsTestBase::$nodes | property | core/ |
Stores the nodes used for the different tests. |
OptionsTestBase::mockStandardInstall | function | core/ |
Provides a workaround for the inability to use the standard profile. |
OptionsTestBase::setUp | function | core/ |
|
OptionsWidgetBase | class | core/ |
Base class for the 'options_*' widgets. |
OptionsWidgetBase.php | file | core/ |
|
OptionsWidgetBase::$column | property | core/ |
Abstract over the actual field columns, to allow different field types to reuse those widgets. |
OptionsWidgetBase::formElement | function | core/ |
Returns the form for a single field widget. |
OptionsWidgetBase::getEmptyLabel | function | core/ |
Returns the empty option label to add to the list of options, if any. |
OptionsWidgetBase::getOptions | function | core/ |
Returns the array of options for the widget. |
OptionsWidgetBase::getSelectedOptions | function | core/ |
Determines selected options from the incoming field values. |
OptionsWidgetBase::sanitizeLabel | function | core/ |
Sanitizes a string label to display as an option. |
OptionsWidgetBase::supportsGroups | function | core/ |
Indicates whether the widgets support optgroups. |
OptionsWidgetBase::validateElement | function | core/ |
Form validation handler for widget elements. |
OptionsWidgetBase::__construct | function | core/ |
Constructs a WidgetBase object. |
OptionsWidgetsTest | class | core/ |
Tests the Options widgets. |
OptionsWidgetsTest.php | file | core/ |
|
OptionsWidgetsTest::$card1 | property | core/ |
A field storage with cardinality 1 to use in this test class. |
Pagination
- Previous page
- Page 12
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.