class RenderElement

Same name in this branch
  1. 10 core/lib/Drupal/Core/Render/Element/RenderElement.php \Drupal\Core\Render\Element\RenderElement
  2. 10 core/lib/Drupal/Core/Render/Annotation/RenderElement.php \Drupal\Core\Render\Annotation\RenderElement
Same name in other branches
  1. 9 core/lib/Drupal/Core/Render/Element/RenderElement.php \Drupal\Core\Render\Element\RenderElement
  2. 9 core/lib/Drupal/Core/Render/Annotation/RenderElement.php \Drupal\Core\Render\Annotation\RenderElement
  3. 8.9.x core/lib/Drupal/Core/Render/Element/RenderElement.php \Drupal\Core\Render\Element\RenderElement
  4. 8.9.x core/lib/Drupal/Core/Render/Annotation/RenderElement.php \Drupal\Core\Render\Annotation\RenderElement
  5. 11.x core/lib/Drupal/Core/Render/Element/RenderElement.php \Drupal\Core\Render\Element\RenderElement
  6. 11.x core/lib/Drupal/Core/Render/Annotation/RenderElement.php \Drupal\Core\Render\Annotation\RenderElement
  7. 11.x core/lib/Drupal/Core/Render/Attribute/RenderElement.php \Drupal\Core\Render\Attribute\RenderElement

Defines a Render element plugin attribute object.

See \Drupal\Core\Render\Element\ElementInterface for more information about render element plugins.

Plugin Namespace: Element

For a working example, see \Drupal\Core\Render\Element\Link.

Hierarchy

Expanded class hierarchy of RenderElement

See also

\Drupal\Core\Render\ElementInfoManager

\Drupal\Core\Render\Element\ElementInterface

\Drupal\Core\Render\Element\RenderElementBase

\Drupal\Core\Render\Attribute\FormElement

Plugin API

Related topics

37 files declare their use of RenderElement
Actions.php in core/lib/Drupal/Core/Render/Element/Actions.php
Ajax.php in core/lib/Drupal/Core/Render/Element/Ajax.php
BreakLockLink.php in core/lib/Drupal/Core/TempStore/Element/BreakLockLink.php
ComponentElement.php in core/lib/Drupal/Core/Render/Element/ComponentElement.php
Container.php in core/lib/Drupal/Core/Render/Element/Container.php

... See full list

File

core/lib/Drupal/Core/Render/Attribute/RenderElement.php, line 27

Namespace

Drupal\Core\Render\Attribute
View source
class RenderElement extends Plugin {

}

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