Search for element

  1. Search 7.x for element
  2. Search 8.9.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
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 enable.
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::getUrl function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Get the current URL from the cURL handler.
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>
theme_theme_test_render_element_children function core/modules/system/tests/modules/theme_legacy_test/theme_legacy_test.module Theme function for testing rendering of child elements.
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 Builds a renderable array for a field value.
TimestampDatetimeWidget::formElement function core/lib/Drupal/Core/Datetime/Plugin/Field/FieldWidget/TimestampDatetimeWidget.php Returns the form for a single field widget.
TimestampFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php Builds a renderable array for a field value.
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 Form constructor.
TriggeringElementProgrammedTest::getFormId function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php Returns a unique string identifying the form.
TriggeringElementProgrammedTest::submitForm function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php Form submission handler.
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 Form validation handler.
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 The theme to install as the default for testing.
TriggeringElementTest::$modules property core/modules/system/tests/src/FunctionalJavascript/Form/TriggeringElementTest.php Modules to enable.
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 Builds a renderable array for a field value.

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