Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
FormErrorHandlerInterface::handleFormErrors function core/lib/Drupal/Core/Form/FormErrorHandlerInterface.php Handles form errors after form validation.
FormErrorHandlerQuickEditTest class core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerQuickEditTest.php Tests Inline Form Errors compatibility with Quick Edit.
FormErrorHandlerQuickEditTest.php file core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerQuickEditTest.php
FormErrorHandlerQuickEditTest::$defaultTheme property core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerQuickEditTest.php
FormErrorHandlerQuickEditTest::$editorUser property core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerQuickEditTest.php An editor user with permissions to access the in-place editor.
FormErrorHandlerQuickEditTest::$modules property core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerQuickEditTest.php Modules to enable.
FormErrorHandlerQuickEditTest::setUp function core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerQuickEditTest.php
FormErrorHandlerQuickEditTest::testDisabledInlineFormErrors function core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerQuickEditTest.php Tests that the inline form errors are not visible for Quick Edit forms.
FormErrorHandlerTest class core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php @coversDefaultClass \Drupal\inline_form_errors\FormErrorHandler[[api-linebreak]]
@group InlineFormErrors
FormErrorHandlerTest class core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php @coversDefaultClass \Drupal\Core\Form\FormErrorHandler[[api-linebreak]]
@group Form
FormErrorHandlerTest.php file core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php
FormErrorHandlerTest.php file core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php
FormErrorHandlerTest::$formErrorHandler property core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php The form error handler.
FormErrorHandlerTest::$formErrorHandler property core/tests/Drupal/Tests/Core/Form/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
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::testVerticalTabChildVisibility function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php Tests that vertical tab children become visible.
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.
FormJSAddMoreTest class core/modules/field/tests/src/FunctionalJavascript/FormJSAddMoreTest.php Tests add more behavior for a multiple value field.
FormJSAddMoreTest.php file core/modules/field/tests/src/FunctionalJavascript/FormJSAddMoreTest.php

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