FormElementBase::$definition |
property |
core/modules/config_translation/src/FormElement/FormElementBase.php |
The data definition of the element this form element is for. |
FormElementBase::$element |
property |
core/modules/config_translation/src/FormElement/FormElementBase.php |
The schema element this form is for. |
FormElementBase::create |
function |
core/modules/config_translation/src/FormElement/FormElementBase.php |
|
FormElementBase::getSourceElement |
function |
core/modules/config_translation/src/FormElement/FormElementBase.php |
Returns the source element for a given configuration definition. |
FormElementBase::getTranslationBuild |
function |
core/modules/config_translation/src/FormElement/FormElementBase.php |
|
FormElementBase::getTranslationElement |
function |
core/modules/config_translation/src/FormElement/FormElementBase.php |
Returns the translation form element for a given configuration definition. |
FormElementBase::processAutocomplete |
function |
core/lib/Drupal/Core/Render/Element/FormElementBase.php |
Adds autocomplete functionality to elements. |
FormElementBase::processPattern |
function |
core/lib/Drupal/Core/Render/Element/FormElementBase.php |
#process callback for #pattern form element property. |
FormElementBase::setConfig |
function |
core/modules/config_translation/src/FormElement/FormElementBase.php |
|
FormElementBase::validatePattern |
function |
core/lib/Drupal/Core/Render/Element/FormElementBase.php |
#element_validate callback for #pattern form element property. |
FormElementBase::valueCallback |
function |
core/lib/Drupal/Core/Render/Element/FormElementBase.php |
|
FormElementBase::__construct |
function |
core/modules/config_translation/src/FormElement/FormElementBase.php |
Constructs a FormElementBase. |
FormElementHelper |
class |
core/lib/Drupal/Core/Form/FormElementHelper.php |
Provides common functionality for form elements. |
FormElementHelper.php |
file |
core/lib/Drupal/Core/Form/FormElementHelper.php |
|
FormElementHelper::getElementByName |
function |
core/lib/Drupal/Core/Form/FormElementHelper.php |
Retrieves a form element. |
FormElementHelper::getElementTitle |
function |
core/lib/Drupal/Core/Form/FormElementHelper.php |
Returns the title for the element. |
FormElementHelperTest |
class |
core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php |
Tests the form element helper. |
FormElementHelperTest.php |
file |
core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php |
|
FormElementHelperTest::getElementByNameProvider |
function |
core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php |
Provides test data. |
FormElementHelperTest::getElementTitleProvider |
function |
core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php |
Provides test data. |
FormElementHelperTest::testGetElementByName |
function |
core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php |
Tests the getElementByName() method. |
FormElementHelperTest::testGetElementTitle |
function |
core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php |
Tests the getElementTitle() method. |
FormElementInlineErrorTest |
class |
core/modules/inline_form_errors/tests/src/Kernel/FormElementInlineErrorTest.php |
Tests messages on form elements. |
FormElementInlineErrorTest.php |
file |
core/modules/inline_form_errors/tests/src/Kernel/FormElementInlineErrorTest.php |
|
FormElementInlineErrorTest::$modules |
property |
core/modules/inline_form_errors/tests/src/Kernel/FormElementInlineErrorTest.php |
|
FormElementInlineErrorTest::testDisplayErrorMessagesNotInline |
function |
core/modules/inline_form_errors/tests/src/Kernel/FormElementInlineErrorTest.php |
Tests that no inline form errors are shown when disabled for a form. |
FormElementInterface |
interface |
core/lib/Drupal/Core/Render/Element/FormElementInterface.php |
Provides an interface for form element plugins. |
FormElementInterface.php |
file |
core/lib/Drupal/Core/Render/Element/FormElementInterface.php |
|
FormElementInterface::valueCallback |
function |
core/lib/Drupal/Core/Render/Element/FormElementInterface.php |
Determines how user input is mapped to an element's #value property. |
FormElementLabelTest |
class |
core/modules/system/tests/src/Kernel/Form/FormElementLabelTest.php |
Tests for form_element_label theme hook. |
FormElementLabelTest.php |
file |
core/modules/system/tests/src/Kernel/Form/FormElementLabelTest.php |
|
FormElementLabelTest::$modules |
property |
core/modules/system/tests/src/Kernel/Form/FormElementLabelTest.php |
|
FormElementLabelTest::testAttributes |
function |
core/modules/system/tests/src/Kernel/Form/FormElementLabelTest.php |
Ensures that attributes can be placed for form element label. |
FormElementMaxlengthTest |
class |
core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php |
Tests the maxlength HTML attribute on form elements. |
FormElementMaxlengthTest.php |
file |
core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php |
|
FormElementMaxlengthTest::$modules |
property |
core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php |
|
FormElementMaxlengthTest::buildForm |
function |
core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php |
|
FormElementMaxlengthTest::getFormId |
function |
core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php |
|
FormElementMaxlengthTest::submitForm |
function |
core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php |
|
FormElementMaxlengthTest::testAttributes |
function |
core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php |
Ensures maxlength attribute can be used in compatible elements. |
FormElementMaxlengthTest::validateForm |
function |
core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php |
|
FormElementsRenderTest |
class |
core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php |
Performs integration tests on \Drupal::service('renderer')->render(). |
FormElementsRenderTest.php |
file |
core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php |
|
FormElementsRenderTest::$modules |
property |
core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php |
|
FormElementsRenderTest::assertRenderedElement |
function |
core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php |
Tests that elements are rendered properly. |
FormElementsRenderTest::testDrupalRenderFormElements |
function |
core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php |
Tests rendering form elements without using doBuildForm(). |
FormTestBase::assertFormElement |
function |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
Asserts that the expected form structure is found in a form for a given key. |
ImageWidget::formElement |
function |
core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php |
|
LanguageSelectWidget::formElement |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/LanguageSelectWidget.php |
|
LayoutBuilderWidget::formElement |
function |
core/modules/layout_builder/src/Plugin/Field/FieldWidget/LayoutBuilderWidget.php |
|