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
FormElementMaxlengthTest::submitForm function core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php Form submission handler.
FormElementMaxlengthTest::testAttributes function core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php Ensures maxlength attribute can be used in compatible elements.
FormElementMaxlengthTest::validateForm function core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php Form validation handler.
FormElementsRenderTest class core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php Performs integration tests on \Drupal::service('renderer')->render().
FormElementsRenderTest.php file core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php
FormElementsRenderTest::$modules property core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php Modules to install.
FormElementsRenderTest::assertRenderedElement function core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php Tests that elements are rendered properly.
FormElementsRenderTest::testDrupalRenderFormElements function core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php Tests rendering form elements without using doBuildForm().
FormTestBase::assertFormElement function core/tests/Drupal/Tests/Core/Form/FormTestBase.php Asserts that the expected form structure is found in a form for a given key.
ImageWidget::formElement function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Returns the form for a single field widget.
LanguageSelectWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/LanguageSelectWidget.php Returns the form for a single field widget.
LayoutBuilderWidget::formElement function core/modules/layout_builder/src/Plugin/Field/FieldWidget/LayoutBuilderWidget.php Returns the form for a single field widget.
LayoutForm::handleFormElementsVisibility function core/modules/navigation/src/Form/LayoutForm.php Handles visibility of the form elements based on the edit mode status.
LinkWidget::formElement function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Returns the form for a single field widget.
MediaLibraryInceptionWidget::formElement function core/modules/media_library/tests/modules/media_library_test_widget/src/Plugin/Field/FieldWidget/MediaLibraryInceptionWidget.php Returns the form for a single field widget.
MediaLibraryWidget::formElement function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Returns the form for a single field widget.
ModerationStateWidget::formElement function core/modules/content_moderation/src/Plugin/Field/FieldWidget/ModerationStateWidget.php Returns the form for a single field widget.
NumberWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php Returns the form for a single field widget.
OEmbedWidget::formElement function core/modules/media/src/Plugin/Field/FieldWidget/OEmbedWidget.php Returns the form for a single field widget.
OptionsButtonsWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsButtonsWidget.php Returns the form for a single field widget.
OptionsSelectWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsSelectWidget.php Returns the form for a single field widget.
OptionsWidgetBase::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Returns the form for a single field widget.
PathWidget::formElement function core/modules/path/src/Plugin/Field/FieldWidget/PathWidget.php Returns the form for a single field widget.
PathWidget::validateFormElement function core/modules/path/src/Plugin/Field/FieldWidget/PathWidget.php Form element validation handler for URL alias form element.
ShapeOnlyColorEditableWidget::formElement function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldWidget/ShapeOnlyColorEditableWidget.php Returns the form for a single field widget.
StringTextareaWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextareaWidget.php Returns the form for a single field widget.
StringTextfieldWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextfieldWidget.php Returns the form for a single field widget.
TelephoneDefaultWidget::formElement function core/modules/telephone/src/Plugin/Field/FieldWidget/TelephoneDefaultWidget.php Returns the form for a single field widget.
TermParentsTest::testEditingParentsWithDisabledFormElement function core/modules/taxonomy/tests/src/Functional/TermParentsTest.php Tests specifying parents when creating terms and a disabled parent form.
TestFieldWidget::formElement function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldWidget/TestFieldWidget.php Returns the form for a single field widget.
TestFieldWidgetMultiple::formElement function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldWidget/TestFieldWidgetMultiple.php Returns the form for a single field widget.
TextareaWidget::formElement function core/modules/text/src/Plugin/Field/FieldWidget/TextareaWidget.php Returns the form for a single field widget.
TextareaWithSummaryWidget::formElement function core/modules/text/src/Plugin/Field/FieldWidget/TextareaWithSummaryWidget.php Returns the form for a single field widget.
TextfieldWidget::formElement function core/modules/text/src/Plugin/Field/FieldWidget/TextfieldWidget.php Returns the form for a single field widget.
TimestampDatetimeWidget::formElement function core/lib/Drupal/Core/Datetime/Plugin/Field/FieldWidget/TimestampDatetimeWidget.php Returns the form for a single field widget.
UriWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/UriWidget.php Returns the form for a single field widget.
ViewExecutable::hasFormElements function core/modules/views/src/ViewExecutable.php Determines if this view has form elements.
WidgetInterface::formElement function core/lib/Drupal/Core/Field/WidgetInterface.php Returns the form for a single field widget.

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