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/modules/system/tests/modules/router_test_directory/src/Form.php Form to test _form routing.
Form class core/lib/Drupal/Core/Render/Element/Form.php Provides a render element for a form.

All search results

Title Object type File name Summary
FormElementBase::valueCallback function core/lib/Drupal/Core/Render/Element/FormElementBase.php Determines how user input is mapped to an element's #value property.
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 Modules to install.
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 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.

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