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 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 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.
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::$modules property core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Modules to install.
DatetimeFormElementTest::buildForm function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Form constructor.
DatetimeFormElementTest::getFormId function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Returns a unique string identifying the form.
DatetimeFormElementTest::setUp function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php
DatetimeFormElementTest::submitForm function core/tests/Drupal/KernelTests/Core/Datetime/Element/DatetimeFormElementTest.php Form submission handler.
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::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 Form validation handler.
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/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.
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/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.

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