Search for options
- Search 7.x for options
- Search 8.9.x for options
- Search 10.3.x for options
- Search 11.x for options
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
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. |
OptionsWidgetBase::$has_value | property | core/ |
Tracks whether the field has a value. |
OptionsWidgetBase::$multiple | property | core/ |
Tracks whether the data is multi-valued. |
OptionsWidgetBase::$options | property | core/ |
The array of options for the widget. |
OptionsWidgetBase::$required | property | core/ |
Tracks whether the field is required. |
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/ |
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.