Search for widget
- Search 7.x for widget
- Search 8.9.x for widget
- Search 10.3.x for widget
- Search 11.x for widget
- Search main for widget
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| OptionsSelectWidget::sanitizeLabel | function | core/ |
Sanitizes a string label to display as an option. |
| OptionsSelectWidget::supportsGroups | function | core/ |
Indicates whether the widgets support optgroups. |
| 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/ |
|
| OptionsWidgetsTest::$card1 | property | core/ |
A field storage with cardinality 1 to use in this test class. |
| OptionsWidgetsTest::$card2 | property | core/ |
A field storage with cardinality 2 to use in this test class. |
| OptionsWidgetsTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| OptionsWidgetsTest::$float | property | core/ |
A field storage with float values to use in this test class. |
| OptionsWidgetsTest::$modules | property | core/ |
Modules to enable. |
| OptionsWidgetsTest::setUp | function | core/ |
|
| OptionsWidgetsTest::testCheckBoxes | function | core/ |
Tests the 'options_buttons' widget (multiple select). |
| OptionsWidgetsTest::testEmptyValue | function | core/ |
Tests the 'options_select' and 'options_button' widget for empty value. |
| OptionsWidgetsTest::testRadioButtons | function | core/ |
Tests the 'options_buttons' widget (single select). |
| OptionsWidgetsTest::testSelectListFloat | function | core/ |
Tests the 'options_select' widget (float values). |
| OptionsWidgetsTest::testSelectListMultiple | function | core/ |
Tests the 'options_select' widget (multiple select). |
| OptionsWidgetsTest::testSelectListSingle | function | core/ |
Tests the 'options_select' widget (single select). |
| OptionWidgetsField | class | core/ |
Plugin annotation @MigrateField( id = "optionwidgets", core = {6}, source_module = "optionwidgets", destination_module = "options" ) |
| OptionWidgetsField.php | file | core/ |
|
| PasswordConfirmWidgetTest | class | core/ |
Tests the JS components added to the PasswordConfirm render element. |
| PasswordConfirmWidgetTest.php | file | core/ |
|
| PasswordConfirmWidgetTest::$assert | property | core/ |
WebAssert object. |
| PasswordConfirmWidgetTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| PasswordConfirmWidgetTest::$testUser | property | core/ |
User for testing. |
| PasswordConfirmWidgetTest::setUp | function | core/ |
|
| PasswordConfirmWidgetTest::testFillConfirmOnly | function | core/ |
Tests the password confirm widget so that only confirm input is filled. |
| PasswordConfirmWidgetTest::testPasswordConfirmMessage | function | core/ |
Ensures that password match message is visible when widget is initialized. |
| PasswordConfirmWidgetTest::testPasswordConfirmWidgetJsComponents | function | core/ |
Tests the components added to the password confirm widget. |
| PasswordWidgetThemeFunctionTest | class | core/ |
Tests the JS components added to the PasswordConfirm render element. |
| PasswordWidgetThemeFunctionTest.php | file | core/ |
|
| PasswordWidgetThemeFunctionTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| PasswordWidgetThemeFunctionTest::$failOnJavascriptConsoleErrors | property | core/ |
@todo Remove this class property in https://www.drupal.org/node/3217947. |
| PasswordWidgetThemeFunctionTest::$modules | property | core/ |
Modules to enable. |
| PasswordWidgetThemeFunctionTest::$testUser | property | core/ |
User for testing. |
| PasswordWidgetThemeFunctionTest::setUp | function | core/ |
|
| PasswordWidgetThemeFunctionTest::testPasswordConfirmWidgetJsComponents | function | core/ |
Tests password widget theme functions and its deprecations. |
Pagination
- Previous page
- Page 10
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.