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
RenderElement.php file core/lib/Drupal/Core/Render/Attribute/RenderElement.php
RenderElement.php file core/lib/Drupal/Core/Render/Element/RenderElement.php
RenderElement.php file core/lib/Drupal/Core/Render/Annotation/RenderElement.php
RenderElement::preRenderAjaxForm function core/lib/Drupal/Core/Render/Element/RenderElement.php Adds Ajax information about an element to communicate with JavaScript.
RenderElement::preRenderGroup function core/lib/Drupal/Core/Render/Element/RenderElement.php Adds members of this group as actual elements for rendering.
RenderElement::processAjaxForm function core/lib/Drupal/Core/Render/Element/RenderElement.php Form element processing handler for the #ajax form property.
RenderElement::processGroup function core/lib/Drupal/Core/Render/Element/RenderElement.php Arranges elements into groups.
RenderElement::setAttributes function core/lib/Drupal/Core/Render/Element/RenderElement.php Sets a form element's class attribute.
RenderElement::__construct function core/lib/Drupal/Core/Render/Element/RenderElement.php
RenderElementBase class core/lib/Drupal/Core/Render/Element/RenderElementBase.php Provides a base class for render element plugins.
RenderElementBase.php file core/lib/Drupal/Core/Render/Element/RenderElementBase.php
RenderElementBase::preRenderAjaxForm function core/lib/Drupal/Core/Render/Element/RenderElementBase.php Adds Ajax information about an element to communicate with JavaScript.
RenderElementBase::preRenderGroup function core/lib/Drupal/Core/Render/Element/RenderElementBase.php Adds members of this group as actual elements for rendering.
RenderElementBase::processAjaxForm function core/lib/Drupal/Core/Render/Element/RenderElementBase.php Form element processing handler for the #ajax form property.
RenderElementBase::processGroup function core/lib/Drupal/Core/Render/Element/RenderElementBase.php Arranges elements into groups.
RenderElementBase::setAttributes function core/lib/Drupal/Core/Render/Element/RenderElementBase.php Sets a form element's class attribute.
RenderElementHelper class core/modules/inline_form_errors/src/RenderElementHelper.php Provides functionality to process render elements.
RenderElementHelper.php file core/modules/inline_form_errors/src/RenderElementHelper.php
RenderElementHelper::alterElementInfo function core/modules/inline_form_errors/src/RenderElementHelper.php Alters the element type info.
RenderElementHelper::processElement function core/modules/inline_form_errors/src/RenderElementHelper.php Process all render elements.
RenderElementTest class core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php @coversDefaultClass \Drupal\Core\Render\Element\RenderElementBase
@group Render
RenderElementTest.php file core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php
RenderElementTest::$container property core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php The container.
RenderElementTest::$requestStack property core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php The request stack.
RenderElementTest::setUp function core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php
RenderElementTest::testPreRenderAjaxForm function core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php @covers ::preRenderAjaxForm
RenderElementTest::testPreRenderAjaxFormWithQueryOptions function core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php @covers ::preRenderAjaxForm
RenderElementTypesTest class core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php Tests the rendered markup of core render element types.
RenderElementTypesTest.php file core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php
RenderElementTypesTest::$modules property core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php Modules to install.
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'.
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 Builds a renderable array for a field value.
ResponsiveImageTestFormatter::viewElements function core/modules/responsive_image/tests/modules/responsive_image_test_module/src/Plugin/Field/FieldFormatter/ResponsiveImageTestFormatter.php Builds a renderable array for a field value.
Rss::$channel_elements property core/modules/views/src/Plugin/views/style/Rss.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 Gets data definition object for contained element.
ShapeOnlyColorEditableWidget::formElement function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldWidget/ShapeOnlyColorEditableWidget.php Returns the form for a single field widget.
SmartDefaultSettings::addToolbarItemsToMatchHtmlElementsInFormat function core/modules/ckeditor5/src/SmartDefaultSettings.php Adds CKEditor 5 toolbar items to match the format's HTML elements.
SmartDefaultSettings::computeNetNewElementsForPlugin function core/modules/ckeditor5/src/SmartDefaultSettings.php Computes net new needed elements when considering adding the given plugin.

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