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
FormDefaultHandlersTest.php file core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php
FormDefaultHandlersTest::buildForm function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php Form constructor.
FormDefaultHandlersTest::customSubmitForm function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php
FormDefaultHandlersTest::customValidateForm function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php
FormDefaultHandlersTest::getFormId function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php Returns a unique string identifying the form.
FormDefaultHandlersTest::submitForm function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php Form submission handler.
FormDefaultHandlersTest::testDefaultAndCustomHandlers function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php Tests that default handlers are added even if custom are specified.
FormDefaultHandlersTest::validateForm function core/tests/Drupal/KernelTests/Core/Form/FormDefaultHandlersTest.php Form validation handler.
FormElement class core/lib/Drupal/Core/Render/Attribute/FormElement.php Defines a form element plugin attribute object.
FormElement class core/lib/Drupal/Core/Render/Element/FormElement.php Provides a base class for form element plugins.
FormElement class core/lib/Drupal/Core/Render/Annotation/FormElement.php Defines a form element plugin annotation object.
FormElement.php file core/lib/Drupal/Core/Render/Annotation/FormElement.php
FormElement.php file core/lib/Drupal/Core/Render/Attribute/FormElement.php
FormElement.php file core/lib/Drupal/Core/Render/Element/FormElement.php
FormElement::preRenderAjaxForm function core/lib/Drupal/Core/Render/Element/FormElement.php Adds Ajax information about an element to communicate with JavaScript.
FormElement::preRenderGroup function core/lib/Drupal/Core/Render/Element/FormElement.php Adds members of this group as actual elements for rendering.
FormElement::processAjaxForm function core/lib/Drupal/Core/Render/Element/FormElement.php Form element processing handler for the #ajax form property.
FormElement::processAutocomplete function core/lib/Drupal/Core/Render/Element/FormElement.php Adds autocomplete functionality to elements.
FormElement::processGroup function core/lib/Drupal/Core/Render/Element/FormElement.php Arranges elements into groups.
FormElement::processPattern function core/lib/Drupal/Core/Render/Element/FormElement.php #process callback for #pattern form element property.
FormElement::setAttributes function core/lib/Drupal/Core/Render/Element/FormElement.php Sets a form element's class attribute.
FormElement::validatePattern function core/lib/Drupal/Core/Render/Element/FormElement.php #element_validate callback for #pattern form element property.
FormElement::valueCallback function core/lib/Drupal/Core/Render/Element/FormElement.php Determines how user input is mapped to an element's #value property.
FormElement::__construct function core/lib/Drupal/Core/Render/Element/FormElement.php Constructs a \Drupal\Component\Plugin\PluginBase object.
FormElementBase class core/lib/Drupal/Core/Render/Element/FormElementBase.php Provides a base class for form element plugins.
FormElementBase class core/modules/config_translation/src/FormElement/FormElementBase.php Provides a common base class for form elements.
FormElementBase.php file core/modules/config_translation/src/FormElement/FormElementBase.php
FormElementBase.php file core/lib/Drupal/Core/Render/Element/FormElementBase.php
FormElementBase::$definition property core/modules/config_translation/src/FormElement/FormElementBase.php The data definition of the element this form element is for.
FormElementBase::$element property core/modules/config_translation/src/FormElement/FormElementBase.php The schema element this form is for.
FormElementBase::create function core/modules/config_translation/src/FormElement/FormElementBase.php Creates a form element instance from a schema definition.
FormElementBase::getSourceElement function core/modules/config_translation/src/FormElement/FormElementBase.php Returns the source element for a given configuration definition.
FormElementBase::getTranslationBuild function core/modules/config_translation/src/FormElement/FormElementBase.php Builds a render array containing the source and translation form elements.
FormElementBase::getTranslationElement function core/modules/config_translation/src/FormElement/FormElementBase.php Returns the translation form element for a given configuration definition.
FormElementBase::processAutocomplete function core/lib/Drupal/Core/Render/Element/FormElementBase.php Adds autocomplete functionality to elements.
FormElementBase::processPattern function core/lib/Drupal/Core/Render/Element/FormElementBase.php #process callback for #pattern form element property.
FormElementBase::setConfig function core/modules/config_translation/src/FormElement/FormElementBase.php Sets configuration based on a nested form value array.
FormElementBase::validatePattern function core/lib/Drupal/Core/Render/Element/FormElementBase.php #element_validate callback for #pattern form element property.
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.

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