Search for form

  1. Search 7.x for form
  2. Search 9.5.x for form
  3. Search 8.9.x for form
  4. Search 10.3.x for form
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Form class core/lib/Drupal/Core/Render/Element/Form.php Provides a render element for a form.
Form class core/modules/system/tests/modules/router_test_directory/src/Form.php Form to test _form routing.

All search results

Title Object type File name Summary
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 Modules to install.
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 class core/modules/inline_form_errors/src/FormErrorHandler.php Produces inline form errors.
FormErrorHandler class core/lib/Drupal/Core/Form/FormErrorHandler.php Handles form errors.
FormErrorHandler.php file core/lib/Drupal/Core/Form/FormErrorHandler.php
FormErrorHandler.php file core/modules/inline_form_errors/src/FormErrorHandler.php
FormErrorHandler::$messenger property core/modules/inline_form_errors/src/FormErrorHandler.php The messenger.
FormErrorHandler::$renderer property core/modules/inline_form_errors/src/FormErrorHandler.php The renderer service.
FormErrorHandler::displayErrorMessages function core/modules/inline_form_errors/src/FormErrorHandler.php Loops through and displays all form errors.
FormErrorHandler::displayErrorMessages function core/lib/Drupal/Core/Form/FormErrorHandler.php Loops through and displays all form errors.
FormErrorHandler::handleFormErrors function core/lib/Drupal/Core/Form/FormErrorHandler.php Handles form errors after form validation.
FormErrorHandler::setElementErrorsFromFormState function core/lib/Drupal/Core/Form/FormErrorHandler.php Stores errors and a list of child element errors directly on each element.
FormErrorHandler::__construct function core/modules/inline_form_errors/src/FormErrorHandler.php Constructs a new FormErrorHandler.
FormErrorHandlerCKEditor5Test class core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditor5Test.php Tests the inline errors fragment link to a CKEditor5-enabled textarea.
FormErrorHandlerCKEditor5Test.php file core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditor5Test.php
FormErrorHandlerCKEditor5Test::$defaultTheme property core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditor5Test.php The theme to install as the default for testing.
FormErrorHandlerCKEditor5Test::$modules property core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditor5Test.php Modules to install.
FormErrorHandlerCKEditor5Test::setUp function core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditor5Test.php
FormErrorHandlerCKEditor5Test::testFragmentLink function core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditor5Test.php Tests if the fragment link to a textarea works with CKEditor 5 enabled.
FormErrorHandlerFileUploadTest class core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php Tests file upload scenario's with Inline Form Errors.
FormErrorHandlerFileUploadTest.php file core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php
FormErrorHandlerFileUploadTest::$defaultTheme property core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php The theme to install as the default for testing.
FormErrorHandlerFileUploadTest::$modules property core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php Modules to install.
FormErrorHandlerFileUploadTest::setUp function core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php
FormErrorHandlerFileUploadTest::testFileUploadErrors function core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php Tests that the required field error is displayed as inline error message.
FormErrorHandlerInterface interface core/lib/Drupal/Core/Form/FormErrorHandlerInterface.php Provides an interface for handling form errors.
FormErrorHandlerInterface.php file core/lib/Drupal/Core/Form/FormErrorHandlerInterface.php
FormErrorHandlerInterface::handleFormErrors function core/lib/Drupal/Core/Form/FormErrorHandlerInterface.php Handles form errors after form validation.
FormErrorHandlerTest class core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php Tests Drupal\Core\Form\FormErrorHandler.
FormErrorHandlerTest class core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php Tests Drupal\inline_form_errors\FormErrorHandler.
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.

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