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. 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/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 class core/lib/Drupal/Core/Render/Attribute/FormElement.php Defines a form element plugin attribute 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.
BookManager::addFormElements function core/modules/book/src/BookManager.php
BookManager::addFormElements function core/modules/book/src/ProxyClass/BookManager.php
BookManager::addParentSelectFormElements function core/modules/book/src/BookManager.php Builds the parent selection form element for the node form or outline tab.
BookManagerInterface::addFormElements function core/modules/book/src/BookManagerInterface.php Builds the common elements of the book form for the node and outline forms.
BooleanCheckboxWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/BooleanCheckboxWidget.php Returns the form for a single field widget.
CommentWidget::formElement function core/modules/comment/src/Plugin/Field/FieldWidget/CommentWidget.php Returns the form for a single field widget.
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 #after_build callback which 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 Returns the form for a single field widget.
DateRangeDefaultWidget::formElement function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDefaultWidget.php Returns the form for a single field widget.
DateRangeWidgetBase::formElement function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php Returns the form for a single field widget.
DateTimeDatelistWidget::formElement function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php Returns the form for a single field widget.
DateTimeDefaultWidget::formElement function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php Returns the form for a single field widget.
DateTimeWidgetBase::formElement function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeWidgetBase.php Returns the form for a single field widget.
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 Returns the form for a single field widget.
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 Returns the form for a single field widget.
EntityReferenceAutocompleteTagsWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteTagsWidget.php Returns the form for a single field widget.
EntityReferenceAutocompleteWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns the form for a single field widget.
FileUploadForm::buildEntityFormElement function core/modules/media_library/src/Form/FileUploadForm.php Builds the sub-form for setting required fields on a new media item.
FileWidget::formElement function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Returns the form for a single field widget.
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/Attribute/FormElement.php
FormElement.php file core/lib/Drupal/Core/Render/Element/FormElement.php
FormElement.php file core/lib/Drupal/Core/Render/Annotation/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
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/lib/Drupal/Core/Render/Element/FormElementBase.php
FormElementBase.php file core/modules/config_translation/src/FormElement/FormElementBase.php

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