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
RenderElementTypesTest::assertElements function core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php Asserts that an array of elements is rendered properly.
RenderElementTypesTest::setUp function core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php
RenderElementTypesTest::testContainer function core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php Tests system #type 'container'.
RenderElementTypesTest::testHtmlTag function core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php Tests system #type 'html_tag'.
RenderElementTypesTest::testMoreLink function core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php Tests system #type 'more_link'.
RenderElementTypesTest::testSystemCompactLink function core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php Tests system #type 'system_compact_link'.
Renderer::$elementInfo property core/lib/Drupal/Core/Render/Renderer.php The element info.
RendererLegacyTest::providerElements function core/tests/Drupal/KernelTests/Core/Render/RendererLegacyTest.php Provides a list of elements to test.
RendererPlaceholdersTest::generatePlaceholderElement function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Generates an element with a placeholder.
RendererPlaceholdersTest::generatePlaceholdersWithChildrenTestElement function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Generates an element with placeholders at 3 levels.
RendererRecursionTest::setUpRenderRecursionComplexElements function core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php
RendererTestBase::$elementInfo property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php The mocked element info.
ResponsiveImageFormatter::viewElements function core/modules/responsive_image/src/Plugin/Field/FieldFormatter/ResponsiveImageFormatter.php
ResponsiveImageTestFormatter::viewElements function core/modules/responsive_image/tests/modules/responsive_image_test_module/src/Plugin/Field/FieldFormatter/ResponsiveImageTestFormatter.php
Rss::getChannelElements function core/modules/views/src/Plugin/views/style/Rss.php Return an array of additional XHTML elements to add to the channel.
RSSEnclosureFormatter::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/RSSEnclosureFormatter.php Builds a renderable array for a field value.
SelectPagerDefaultTest::testElementNumbers function core/modules/system/tests/src/Functional/Database/SelectPagerDefaultTest.php Confirms that every pager gets a valid, non-overlapping element ID.
Sequence::getElementDefinition function core/lib/Drupal/Core/Config/Schema/Sequence.php
seven_element_info_alter function core/themes/seven/seven.theme Implements hook_element_info_alter().
ShapeOnlyColorEditableWidget::formElement function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldWidget/ShapeOnlyColorEditableWidget.php
SortArray::sortByTitleElement function core/lib/Drupal/Component/Utility/SortArray.php Sorts a structured array by 'title' key (no # prefix).
SortArray::sortByWeightElement function core/lib/Drupal/Component/Utility/SortArray.php Sorts a structured array by the 'weight' element.
SortArrayTest::providerSortByTitleElement function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Data provider for SortArray::sortByTitleElement().
SortArrayTest::providerSortByWeightElement function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Data provider for SortArray::sortByWeightElement().
SortArrayTest::testSortByTitleElement function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Tests SortArray::sortByTitleElement() input against expected output.
SortArrayTest::testSortByWeightElement function core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php Tests SortArray::sortByWeightElement() input against expected output.
stable_element_info_alter function core/themes/stable/stable.theme Implements hook_element_info_alter().
StringFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php
StringTextareaWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextareaWidget.php
StringTextfieldWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextfieldWidget.php
StylePluginBase::elementPreRenderRow function core/modules/views/src/Plugin/views/style/StylePluginBase.php #pre_render callback for view row field rendering.
StyleTestBase::$elements property core/modules/views/tests/src/Kernel/Plugin/StyleTestBase.php Stores the SimpleXML representation of the output.
system_element_info_alter function core/modules/system/system.module Implements hook_element_info_alter().
TableFormatter::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/TableFormatter.php Builds a renderable array for a field value.
TelephoneDefaultWidget::formElement function core/modules/telephone/src/Plugin/Field/FieldWidget/TelephoneDefaultWidget.php
TelephoneLinkFormatter::viewElements function core/modules/telephone/src/Plugin/Field/FieldFormatter/TelephoneLinkFormatter.php
template_preprocess_form_element function core/includes/form.inc Returns HTML for a form element.
Prepares variables for form element templates.
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
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
TestFieldApplicableFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldApplicableFormatter.php
TestFieldDefaultFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldDefaultFormatter.php
TestFieldEmptyFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldEmptyFormatter.php
TestFieldEmptySettingFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldEmptySettingFormatter.php
TestFieldMultipleFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldMultipleFormatter.php
TestFieldNoSettingsFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldNoSettingsFormatter.php
TestFieldPrepareViewFormatter::viewElements function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldPrepareViewFormatter.php

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