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
PathWidget::validateFormElement function core/modules/path/src/Plugin/Field/FieldWidget/PathWidget.php Form element validation handler for URL alias form element.
plugin.manager.element_info service core/core.services.yml Drupal\Core\Render\ElementInfoManager
PluralVariants::getSourceElement function core/modules/config_translation/src/FormElement/PluralVariants.php Returns the source element for a given configuration definition.
PluralVariants::getTranslationElement function core/modules/config_translation/src/FormElement/PluralVariants.php Returns the translation form element for a given configuration definition.
RenderCache::isElementCacheable function core/lib/Drupal/Core/Render/RenderCache.php Checks whether a renderable array can be cached.
RenderElement class core/lib/Drupal/Core/Render/Element/RenderElement.php Provides a base class for render element plugins.
RenderElement class core/lib/Drupal/Core/Render/Annotation/RenderElement.php Defines a render element plugin annotation object.
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 Constructs a new render element object.
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[[api-linebreak]]
@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::providerTestSetAttributes function core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php Provides test data for testSetAttributes().
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[[api-linebreak]]
RenderElementTest::testPreRenderAjaxFormWithQueryOptions function core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php @covers ::preRenderAjaxForm[[api-linebreak]]
RenderElementTest::testSetAttributes function core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php @covers ::setAttributes[[api-linebreak]]
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::testLink function core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php Tests system #type 'link'.
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::loadElementDefaults function core/lib/Drupal/Core/Render/Renderer.php Loads an element's default values based on its type.
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
RendererTest::testElementDefaultsAdded function core/tests/Drupal/Tests/Core/Render/RendererTest.php Tests that element defaults are added.
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 The channel elements.
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.

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