Search for element

  1. Search 7.x for element
  2. Search 9.5.x for element
  3. Search 10.3.x for element
  4. Search 11.x for element
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Element class core/modules/editor/src/Element.php Defines a service for Text Editor's render elements.
Element class core/lib/Drupal/Core/Render/Element.php Provides helper methods for Drupal render elements.
Element class core/lib/Drupal/Core/Config/Schema/Element.php Defines a generic configuration element.

All search results

Title Object type File name Summary
FileWidget::formElement function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Returns the form for a single field widget.
FileWidget::formMultipleElements function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Overrides \Drupal\Core\Field\WidgetBase::formMultipleElements().
FileWidget::getDescriptionFromElement function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Retrieves the file description from a field field element.
FilterAPITest::testProcessedTextElement function core/modules/filter/tests/src/Kernel/FilterAPITest.php Tests the 'processed_text' element.
FilterHtml::filterElementAttributes function core/modules/filter/src/Plugin/Filter/FilterHtml.php Filters attributes on an element according to a list of allowed values.
form-element-label.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/form/form-element-label.html.twig Theme override for a form element label.
form-element-label.html.twig file core/themes/seven/templates/classy/form/form-element-label.html.twig Theme override for a form element label.
form-element-label.html.twig file core/themes/claro/templates/form-element-label.html.twig Template override for a form element label.
form-element-label.html.twig file core/themes/bartik/templates/classy/form/form-element-label.html.twig Theme override for a form element label.
form-element-label.html.twig file core/themes/stable/templates/form/form-element-label.html.twig Theme override for a form element label.
form-element-label.html.twig file core/themes/classy/templates/form/form-element-label.html.twig Theme override for a form element label.
form-element-label.html.twig file core/modules/system/templates/form-element-label.html.twig Default theme implementation for a form element label.
form-element.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/form/form-element.html.twig Theme override for a form element.
form-element.html.twig file core/themes/seven/templates/classy/form/form-element.html.twig Theme override for a form element.
form-element.html.twig file core/themes/claro/templates/form-element.html.twig Theme override for a form element.
form-element.html.twig file core/themes/bartik/templates/classy/form/form-element.html.twig Theme override for a form element.
form-element.html.twig file core/themes/stable/templates/form/form-element.html.twig Theme override for a form element.
form-element.html.twig file core/themes/classy/templates/form/form-element.html.twig Theme override for a form element.
form-element.html.twig file core/modules/system/templates/form-element.html.twig Default theme implementation for a form element.
FormAjaxResponseBuilderTest::testBuildResponseNoTriggeringElement function core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php @covers ::buildResponse
FormatterInterface::viewElements function core/lib/Drupal/Core/Field/FormatterInterface.php Builds a renderable array for a field value.
FormBuilder::$elementInfo property core/lib/Drupal/Core/Form/FormBuilder.php The element info manager.
FormBuilder::elementTriggeredScriptedSubmission function core/lib/Drupal/Core/Form/FormBuilder.php Detects if an element triggered the form submission via Ajax.
FormBuilder::handleInputElement function core/lib/Drupal/Core/Form/FormBuilder.php Adds the #name and #value properties of an input element before rendering.
FormBuilderTest::providerTestBuildFormWithTriggeringElement function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Data provider for ::testBuildFormWithTriggeringElement().
FormBuilderTest::testBuildFormWithTriggeringElement function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests whether the triggering element is properly identified.
FormBuilderTest::testUniqueElementHtmlId function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests that HTML IDs are unique between 2 forms with the same element names.
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/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.

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