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
TextareaWidget::errorElement function core/modules/text/src/Plugin/Field/FieldWidget/TextareaWidget.php
TextareaWidget::formElement function core/modules/text/src/Plugin/Field/FieldWidget/TextareaWidget.php
TextareaWithSummaryWidget::errorElement function core/modules/text/src/Plugin/Field/FieldWidget/TextareaWithSummaryWidget.php
TextareaWithSummaryWidget::formElement function core/modules/text/src/Plugin/Field/FieldWidget/TextareaWithSummaryWidget.php
TextDefaultFormatter::viewElements function core/modules/text/src/Plugin/Field/FieldFormatter/TextDefaultFormatter.php
Textfield::getTranslationElement function core/modules/config_translation/src/FormElement/Textfield.php
TextfieldWidget::errorElement function core/modules/text/src/Plugin/Field/FieldWidget/TextfieldWidget.php
TextfieldWidget::formElement function core/modules/text/src/Plugin/Field/FieldWidget/TextfieldWidget.php
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
TextFormat::getTranslationElement function core/modules/config_translation/src/FormElement/TextFormat.php
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
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
TextFormatElementFormTest::getFormId function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php
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
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
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>
ThrobberTest::testThemingThrobberElement function core/tests/Drupal/FunctionalJavascriptTests/Ajax/ThrobberTest.php Tests theming throbber element.
TimestampAgoFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php
TimestampDatetimeWidget::formElement function core/lib/Drupal/Core/Datetime/Plugin/Field/FieldWidget/TimestampDatetimeWidget.php
TimestampFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php
TimezoneTest::$elementType property core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php The element type that is being tested ('datetime' or 'datelist').
TimezoneTest::testDatelistElementTimesUnderstoodCorrectly function core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php Tests datelist elements interpret their times correctly when saving.
TimezoneTest::testDatetimeElementTimesUnderstoodCorrectly function core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php Tests datetime elements interpret their times correctly when saving.
TriggeringElementProgrammedTest class core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php Tests detection of triggering_element for programmed form submissions.
TriggeringElementProgrammedTest.php file core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php
TriggeringElementProgrammedTest::buildForm function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php
TriggeringElementProgrammedTest::getFormId function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php
TriggeringElementProgrammedTest::submitForm function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php
TriggeringElementProgrammedTest::testLimitValidationErrors function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php Tests that #limit_validation_errors of the only submit button takes effect.
TriggeringElementProgrammedTest::validateForm function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php
TriggeringElementTest class core/modules/system/tests/src/FunctionalJavascript/Form/TriggeringElementTest.php Tests that FAPI correctly determines the triggering element.
TriggeringElementTest.php file core/modules/system/tests/src/FunctionalJavascript/Form/TriggeringElementTest.php
TriggeringElementTest::$defaultTheme property core/modules/system/tests/src/FunctionalJavascript/Form/TriggeringElementTest.php
TriggeringElementTest::$modules property core/modules/system/tests/src/FunctionalJavascript/Form/TriggeringElementTest.php
TriggeringElementTest::testAttemptAccessControlBypass function core/modules/system/tests/src/FunctionalJavascript/Form/TriggeringElementTest.php Tests attempts to bypass access control.
TriggeringElementTest::testNoButtonInfoInPost function core/modules/system/tests/src/FunctionalJavascript/Form/TriggeringElementTest.php Tests the triggering element when no button information is included.
TypedConfigInterface::getElements function core/lib/Drupal/Core/Config/Schema/TypedConfigInterface.php Gets an array of contained elements.
UpdateTestBase::assertUpdateTableElementContains function core/modules/update/tests/src/Functional/UpdateTestBase.php Asserts that the update table element HTML contains the specified text.
UpdateTestBase::assertUpdateTableElementNotContains function core/modules/update/tests/src/Functional/UpdateTestBase.php Asserts that the update table element HTML contains the specified text.
UpdateTestBase::findUpdateElementByLabel function core/modules/update/tests/src/Functional/UpdateTestBase.php Finds an update page element by label.
UriLinkFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/UriLinkFormatter.php
UriWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/UriWidget.php

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