Search for formElement

  1. Search 7.x for formElement
  2. Search 8.9.x for formElement
  3. Search 10.3.x for formElement
  4. Search 11.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.

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 Builds the common elements of the book form for the node and outline forms.
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.
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.
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.
ElementTest::testFormElementErrors function core/modules/system/tests/src/Functional/Form/ElementTest.php Tests form element error messages.
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/Annotation/FormElement.php Defines a form element plugin annotation object.
FormElement class core/lib/Drupal/Core/Render/Element/FormElement.php Provides a base class for form element plugins.
FormElement.php file core/lib/Drupal/Core/Render/Element/FormElement.php
FormElement.php file core/lib/Drupal/Core/Render/Annotation/FormElement.php
FormElement::processAutocomplete function core/lib/Drupal/Core/Render/Element/FormElement.php Adds autocomplete functionality to elements.
FormElement::processPattern function core/lib/Drupal/Core/Render/Element/FormElement.php #process callback for #pattern form element property.
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.
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::$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::setConfig function core/modules/config_translation/src/FormElement/FormElementBase.php Sets configuration based on a nested form value array.
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.

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