Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
FormErrorHandlerTest class core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php @coversDefaultClass \Drupal\Core\Form\FormErrorHandler[[api-linebreak]]
@group Form
FormErrorHandlerTest class core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php @coversDefaultClass \Drupal\inline_form_errors\FormErrorHandler[[api-linebreak]]
@group InlineFormErrors
FormErrorHandlerTest.php file core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php
FormErrorHandlerTest.php file core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php
FormErrorHandlerTest::$formErrorHandler property core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php The form error handler.
FormErrorHandlerTest::$formErrorHandler property core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php The form error handler.
FormErrorHandlerTest::$linkGenerator property core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php The link generator.
FormErrorHandlerTest::$messenger property core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php The messenger.
FormErrorHandlerTest::$messenger property core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php The messenger.
FormErrorHandlerTest::$renderer property core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php The renderer.
FormErrorHandlerTest::$testForm property core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php Form for testing.
FormErrorHandlerTest::setUp function core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php
FormErrorHandlerTest::setUp function core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php
FormErrorHandlerTest::testDisplayErrorMessages function core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php @covers ::handleFormErrors[[api-linebreak]]
@covers ::displayErrorMessages[[api-linebreak]]
FormErrorHandlerTest::testErrorMessagesInline function core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php @covers ::handleFormErrors[[api-linebreak]]
@covers ::displayErrorMessages[[api-linebreak]]
@covers ::setElementErrorsFromFormState[[api-linebreak]]
FormErrorHandlerTest::testErrorMessagesNotInline function core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php Tests that opting out of Inline Form Errors works.
FormErrorHandlerTest::testSetElementErrorsFromFormState function core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php @covers ::handleFormErrors[[api-linebreak]]
@covers ::setElementErrorsFromFormState[[api-linebreak]]
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.
FormHelper class core/lib/Drupal/Core/Form/FormHelper.php Provides helpers to operate on forms.
FormHelper.php file core/lib/Drupal/Core/Form/FormHelper.php
FormHelper::processStates function core/lib/Drupal/Core/Form/FormHelper.php Adds JavaScript to change the state of an element based on another element.
FormHelper::processStatesArray function core/lib/Drupal/Core/Form/FormHelper.php Helps recursively rewrite #states selectors.
FormHelper::rewriteStatesSelector function core/lib/Drupal/Core/Form/FormHelper.php Rewrites #states selectors in a render element.
FormHelperTest class core/tests/Drupal/Tests/Core/Form/FormHelperTest.php @coversDefaultClass \Drupal\Core\Form\FormHelper[[api-linebreak]]
@group Form
FormHelperTest.php file core/tests/Drupal/Tests/Core/Form/FormHelperTest.php
FormHelperTest::providerElements function core/tests/Drupal/Tests/Core/Form/FormHelperTest.php Provides a list of elements to test.
FormHelperTest::testProcessStates function core/tests/Drupal/Tests/Core/Form/FormHelperTest.php @covers ::processStates[[api-linebreak]]
@dataProvider providerElements
FormHelperTest::testRewriteStatesSelector function core/tests/Drupal/Tests/Core/Form/FormHelperTest.php Tests rewriting the #states selectors.
FormInterface interface core/lib/Drupal/Core/Form/FormInterface.php Provides an interface for a Form.
FormInterface.php file core/lib/Drupal/Core/Form/FormInterface.php
FormInterface::buildForm function core/lib/Drupal/Core/Form/FormInterface.php Form constructor.
FormInterface::getFormId function core/lib/Drupal/Core/Form/FormInterface.php Returns a unique string identifying the form.
FormInterface::submitForm function core/lib/Drupal/Core/Form/FormInterface.php Form submission handler.
FormInterface::validateForm function core/lib/Drupal/Core/Form/FormInterface.php Form validation handler.
FormModeAccessCheck class core/modules/field_ui/src/Access/FormModeAccessCheck.php Defines an access check for entity form mode routes.
FormModeAccessCheck.php file core/modules/field_ui/src/Access/FormModeAccessCheck.php
FormModeAccessCheck::$entityTypeManager property core/modules/field_ui/src/Access/FormModeAccessCheck.php The entity type manager.
FormModeAccessCheck::access function core/modules/field_ui/src/Access/FormModeAccessCheck.php Checks access to the form mode.
FormModeAccessCheck::__construct function core/modules/field_ui/src/Access/FormModeAccessCheck.php Creates a new FormModeAccessCheck.
FormObjectTest class core/modules/system/tests/src/Kernel/Form/FormObjectTest.php Tests building a form from an object.
FormObjectTest class core/modules/system/tests/src/Functional/Form/FormObjectTest.php Tests building a form from an object.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.