Search for formElement

  1. Search 7.x for formElement
  2. Search 9.5.x for formElement
  3. Search 8.9.x for formElement
  4. Search 10.3.x for formElement
  5. Search 11.x for formElement
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
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.

All search results

Title Object type File name Summary
AddFormBase::buildEntityFormElement function core/modules/media_library/src/Form/AddFormBase.php Builds the sub-form for setting required fields on a new media item.
BooleanCheckboxWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/BooleanCheckboxWidget.php
ClaroHooks::preprocessFormElement function core/themes/claro/src/Hook/ClaroHooks.php Implements hook_preprocess_form_element().
ClaroHooks::preprocessFormElementPassword function core/themes/claro/src/Hook/ClaroHooks.php Implements hook_preprocess_HOOK() for form_element__password.
ClaroHooks::preprocessFormElementPasswordConfirm function core/themes/claro/src/Hook/ClaroHooks.php Implements hook_preprocess_HOOK() for form_element__password_confirm.
ClaroHooks::themeSuggestionsFormElementAlter function core/themes/claro/src/Hook/ClaroHooks.php Implements hook_theme_suggestions_HOOK_alter() for form_element.
CommentWidget::formElement function core/modules/comment/src/Plugin/Field/FieldWidget/CommentWidget.php
ComponentAsFormElementTest class core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Tests the correct rendering of components in form.
ComponentAsFormElementTest.php file core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php
ComponentAsFormElementTest::$modules property core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php
ComponentAsFormElementTest::$themes property core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php
ComponentAsFormElementTest::buildForm function core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php
ComponentAsFormElementTest::customValidator function core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Validation callback for a datetime element.
ComponentAsFormElementTest::getFormId function core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php
ComponentAsFormElementTest::submitForm function core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php
ComponentAsFormElementTest::testElementValidateCallback function core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Tests that #element_validate works as expected.
ComponentAsFormElementTest::testFormRenderingAndSubmission function core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Tests that fields validation messages are sorted in the fields order.
ComponentAsFormElementTest::validateForm function core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php
CompositeFormElementTrait trait core/lib/Drupal/Core/Render/Element/CompositeFormElementTrait.php Provides a trait for radios, checkboxes, and similar composite form elements.
CompositeFormElementTrait.php file core/lib/Drupal/Core/Render/Element/CompositeFormElementTrait.php
CompositeFormElementTrait::preRenderCompositeFormElement function core/lib/Drupal/Core/Render/Element/CompositeFormElementTrait.php Adds form element theming to an element if its title or description is set.
ConfigFormBase::storeConfigKeyToFormElementMap function core/lib/Drupal/Core/Form/ConfigFormBase.php Render API callback: Stores a map of element names to config keys.
ConfigTranslationFormBase::createFormElement function core/modules/config_translation/src/Form/ConfigTranslationFormBase.php Creates a form element builder.
DateRangeDatelistWidget::formElement function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDatelistWidget.php
DateRangeDefaultWidget::formElement function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDefaultWidget.php
DateRangeWidgetBase::formElement function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php
DateTimeDatelistWidget::formElement function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php
DateTimeDefaultWidget::formElement function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php
DatetimeFormElementTest class core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Tests static callbacks returns and form submission with datetime elements.
DatetimeFormElementTest.php file core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php
DatetimeFormElementTest::$formBuilder property core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Form builder service.
DatetimeFormElementTest::buildForm function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php
DatetimeFormElementTest::getFormId function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php
DatetimeFormElementTest::setUp function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php
DatetimeFormElementTest::submitForm function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php
DatetimeFormElementTest::testDatetimeLocalProcessDatetime function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Checks expected values are returned by ::processDatetime().
DatetimeFormElementTest::testDatetimeLocalValueCallback function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Checks expected values are returned by ::valueCallback().
DatetimeFormElementTest::testDatetimeTimeOnlyValueCallback function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Checks expected values are returned by ::valueCallback().
DatetimeFormElementTest::testNoErrorMetOnFormSubmit function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Checks we have no errors on form submit.
DatetimeFormElementTest::validateForm function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php
DateTimeWidgetBase::formElement function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeWidgetBase.php
DeprecatedExtendsFormElement class core/modules/system/tests/modules/element_info_test/src/Element/DeprecatedExtendsFormElement.php Provides render element that extends deprecated FormElement for testing.
DeprecatedExtendsFormElement.php file core/modules/system/tests/modules/element_info_test/src/Element/DeprecatedExtendsFormElement.php
DeprecatedExtendsFormElement::getInfo function core/modules/system/tests/modules/element_info_test/src/Element/DeprecatedExtendsFormElement.php Returns the element properties for this element.
DummyAjaxWidget::formElement function core/modules/image/tests/modules/image_module_test/src/Plugin/Field/FieldWidget/DummyAjaxWidget.php
ElementsLabelsTest::testFormElements function core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php Tests form elements.
ElementTest::testFormElementErrors function core/modules/system/tests/src/Functional/Form/ElementTest.php Tests form element error messages.
ElementTest::testFormElements function core/modules/system/tests/src/Functional/Form/ElementTest.php Test form elements.
EmailDefaultWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EmailDefaultWidget.php
EntityReferenceAutocompleteTagsWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteTagsWidget.php

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