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 |
Modules to install. |
FormElementMaxlengthTest::buildForm |
function |
core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php |
Form constructor. |
FormElementMaxlengthTest::getFormId |
function |
core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php |
Returns a unique string identifying the form. |
FormElementMaxlengthTest::submitForm |
function |
core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php |
Form submission handler. |
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 |
Form validation handler. |
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 |
Modules to install. |
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(). |
FormErrorHandler::setElementErrorsFromFormState |
function |
core/lib/Drupal/Core/Form/FormErrorHandler.php |
Stores errors and a list of child element errors directly on each element. |
FormErrorHandlerTest::testSetElementErrorsFromFormState |
function |
core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php |
Tests set element errors from form state. |
FormGroupingElementsTest |
class |
core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php |
Tests for form grouping elements. |
FormGroupingElementsTest.php |
file |
core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php |
|
FormGroupingElementsTest::$defaultTheme |
property |
core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php |
The theme to install as the default for testing. |
FormGroupingElementsTest::$modules |
property |
core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php |
Required modules. |
FormGroupingElementsTest::setUp |
function |
core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php |
|
FormGroupingElementsTest::testDetailsChildVisibility |
function |
core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php |
Tests that details element children become visible. |
FormGroupingElementsTest::testDetailsContainsRequiredTextfield |
function |
core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php |
Tests form submit with a required field in closed details element. |
FormGroupingElementsTest::testDetailsContainsRequiredTextfieldAjaxForm |
function |
core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php |
Tests required field in closed details element with ajax form. |
FormGroupingElementsTest::testVerticalTabChildVisibility |
function |
core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php |
Tests that vertical tab children become visible. |
FormGroupingElementsTest::testVerticalTabValidationVisibility |
function |
core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php |
Confirms tabs containing a field with a validation error are open. |
FormHelperTest::providerElements |
function |
core/tests/Drupal/Tests/Core/Form/FormHelperTest.php |
Provides a list of elements to test. |
FormPreprocess::preprocessFormElement |
function |
core/lib/Drupal/Core/Form/FormPreprocess.php |
Returns HTML for a form element. |
FormPreprocess::preprocessFormElementLabel |
function |
core/lib/Drupal/Core/Form/FormPreprocess.php |
Prepares variables for form label templates. |
FormState::$has_file_element |
property |
core/lib/Drupal/Core/Form/FormState.php |
Indicates a file element is present. |
FormState::$triggering_element |
property |
core/lib/Drupal/Core/Form/FormState.php |
The form element that triggered submission. |
FormState::getTriggeringElement |
function |
core/lib/Drupal/Core/Form/FormState.php |
Gets the form element that triggered submission. |
FormState::hasFileElement |
function |
core/lib/Drupal/Core/Form/FormState.php |
Returns whether this form has a file element. |
FormState::setHasFileElement |
function |
core/lib/Drupal/Core/Form/FormState.php |
Sets that this form has a file element. |
FormState::setTriggeringElement |
function |
core/lib/Drupal/Core/Form/FormState.php |
Sets the form element that triggered submission. |
FormStateDecoratorBase::getTriggeringElement |
function |
core/lib/Drupal/Core/Form/FormStateDecoratorBase.php |
Gets the form element that triggered submission. |
FormStateDecoratorBase::hasFileElement |
function |
core/lib/Drupal/Core/Form/FormStateDecoratorBase.php |
Returns whether this form has a file element. |
FormStateDecoratorBase::setHasFileElement |
function |
core/lib/Drupal/Core/Form/FormStateDecoratorBase.php |
Sets that this form has a file element. |
FormStateDecoratorBase::setTriggeringElement |
function |
core/lib/Drupal/Core/Form/FormStateDecoratorBase.php |
Sets the form element that triggered submission. |
FormStateDecoratorBase::setValueForElement |
function |
core/lib/Drupal/Core/Form/FormStateDecoratorBase.php |
Changes submitted form values during form validation. |
FormStateDecoratorBaseTest::testGetTriggeringElement |
function |
core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php |
Tests get triggering element. |
FormStateDecoratorBaseTest::testHasFileElement |
function |
core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php |
Tests has file element. |
FormStateDecoratorBaseTest::testSetHasFileElement |
function |
core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php |
Tests set has file element. |
FormStateDecoratorBaseTest::testSetTriggeringElement |
function |
core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php |
Tests set triggering element. |
FormStateDecoratorBaseTest::testSetValueForElement |
function |
core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php |
Tests set value for element. |
FormStateInterface::getTriggeringElement |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Gets the form element that triggered submission. |
FormStateInterface::hasFileElement |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Returns whether this form has a file element. |
FormStateInterface::setHasFileElement |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets that this form has a file element. |
FormStateInterface::setTriggeringElement |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Sets the form element that triggered submission. |
FormStateInterface::setValueForElement |
function |
core/lib/Drupal/Core/Form/FormStateInterface.php |
Changes submitted form values during form validation. |