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::formElement function core/modules/path/src/Plugin/Field/FieldWidget/PathWidget.php Returns the form for a single field widget.
PathWidget::validateFormElement function core/modules/path/src/Plugin/Field/FieldWidget/PathWidget.php Form element validation handler for URL alias form element.
path_field_widget_single_element_form_alter function core/modules/path/path.module Implements hook_field_widget_single_element_form_alter().
PermissionFilterTest::filterVisibleElements function core/modules/user/tests/src/FunctionalJavascript/PermissionFilterTest.php Removes any non-visible elements from the passed array.
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 class core/lib/Drupal/Core/Render/Attribute/RenderElement.php Defines a Render element plugin attribute object.
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::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
RenderElementTest::testPreRenderAjaxFormWithQueryOptions function core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php @covers ::preRenderAjaxForm
RenderElementTest::testSetAttributes function core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php @covers ::setAttributes
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.

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