Search for element

  1. Search 7.x for element
  2. Search 9.5.x for element
  3. Search 8.9.x for element
  4. Search 10.3.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
template_preprocess_form_element function core/includes/form.inc Returns HTML for a form element.
template_preprocess_form_element_label function core/includes/form.inc Prepares variables for form label templates.
template_preprocess_theme_test_render_element function core/modules/system/tests/modules/theme_test/theme_test.module Prepares variables for test render element templates.
TermParentsTest::testEditingParentsWithDisabledFormElement function core/modules/taxonomy/tests/src/Functional/TermParentsTest.php Tests specifying parents when creating terms and a disabled parent form.
TestAddForm::buildInputElement function core/modules/media_library/tests/modules/media_library_form_overwrite_test/src/Form/TestAddForm.php Builds the element for submitting source field value(s).
TestElementInfoManager class core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php Provides a test custom element plugin.
TestElementInfoManager::$elementInfo property core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php Stores the available element information.
TestFieldApplicableFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldApplicableFormatter.php Builds a renderable array for a field value.
TestFieldDefaultFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldDefaultFormatter.php Builds a renderable array for a field value.
TestFieldEmptyFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldEmptyFormatter.php Builds a renderable array for a field value.
TestFieldEmptySettingFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldEmptySettingFormatter.php Builds a renderable array for a field value.
TestFieldMultipleFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldMultipleFormatter.php Builds a renderable array for a field value.
TestFieldNoSettingsFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldNoSettingsFormatter.php Builds a renderable array for a field value.
TestFieldPrepareViewFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldPrepareViewFormatter.php Builds a renderable array for a field value.
TestFieldWidget::errorElement function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldWidget/TestFieldWidget.php Assigns a field-level validation error to the right widget sub-element.
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::errorElement function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldWidget/TestFieldWidgetMultiple.php Assigns a field-level validation error to the right widget sub-element.
TestFieldWidgetMultiple::formElement function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldWidget/TestFieldWidgetMultiple.php Returns the form for a single field widget.
TestPlaceholderingRenderCache::$placeholderElements property core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php The placeholder elements created during rendering.
test_stable_preprocess_theme_test_render_element function core/tests/fixtures/test_stable/test_stable.theme Implements hook_preprocess_theme_test_render_element().
test_theme_element_info_alter function core/modules/system/tests/themes/test_theme/test_theme.theme Implements hook_element_info_alter().
Textarea::getTranslationElement function core/modules/config_translation/src/FormElement/Textarea.php Returns the translation form element for a given configuration definition.
TextareaWidget::errorElement function core/modules/text/src/Plugin/Field/FieldWidget/TextareaWidget.php Assigns a field-level validation error to the right widget sub-element.
TextareaWidget::formElement function core/modules/text/src/Plugin/Field/FieldWidget/TextareaWidget.php Returns the form for a single field widget.
TextareaWithSummaryWidget::errorElement function core/modules/text/src/Plugin/Field/FieldWidget/TextareaWithSummaryWidget.php Assigns a field-level validation error to the right widget sub-element.
TextareaWithSummaryWidget::formElement function core/modules/text/src/Plugin/Field/FieldWidget/TextareaWithSummaryWidget.php Returns the form for a single field widget.
TextDefaultFormatter::viewElements function core/modules/text/src/Plugin/Field/FieldFormatter/TextDefaultFormatter.php Builds a renderable array for a field value.
Textfield::getTranslationElement function core/modules/config_translation/src/FormElement/Textfield.php Returns the translation form element for a given configuration definition.
TextfieldWidget::errorElement function core/modules/text/src/Plugin/Field/FieldWidget/TextfieldWidget.php Assigns a field-level validation error to the right widget sub-element.
TextfieldWidget::formElement function core/modules/text/src/Plugin/Field/FieldWidget/TextfieldWidget.php Returns the form for a single field widget.
TextFormat::elementInfo function core/modules/filter/src/Element/TextFormat.php Wraps the element info service.
TextFormat::getSourceElement function core/modules/config_translation/src/FormElement/TextFormat.php Returns the source element for a given configuration definition.
TextFormat::getTranslationElement function core/modules/config_translation/src/FormElement/TextFormat.php Returns the translation form element for a given configuration definition.
TextFormatElementFormTest class core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Tests PathElement validation and conversion functionality.
TextFormatElementFormTest.php file core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php
TextFormatElementFormTest::$modules property core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Modules to install.
TextFormatElementFormTest::$testUser property core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php User for testing.
TextFormatElementFormTest::buildForm function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Form constructor.
TextFormatElementFormTest::getFormId function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Returns a unique string identifying the form.
TextFormatElementFormTest::setUp function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Sets up the test.
TextFormatElementFormTest::submitForm function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Form submission handler.
TextFormatElementFormTest::testTextFormatElement function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Tests that values are returned.
TextFormatElementFormTest::validateForm function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Form validation handler.
TextTrimmedFormatter::viewElements function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php Builds a renderable array for a field value.
theme-test-render-element-children.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-render-element-children.html.twig {# Output for Theme API test #}
{{ element -}}
theme-test-render-element.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-render-element.html.twig <div{{ attributes }}></div>
ThemeCommonElements class core/lib/Drupal/Core/Theme/ThemeCommonElements.php Provide common theme render elements.
ThemeCommonElements.php file core/lib/Drupal/Core/Theme/ThemeCommonElements.php
ThemeCommonElements::commonElements function core/lib/Drupal/Core/Theme/ThemeCommonElements.php Base theme array.
ThrobberTest::testThemingThrobberElement function core/tests/Drupal/FunctionalJavascriptTests/Ajax/ThrobberTest.php Tests theming throbber element.

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