class RenderElement

Same name in this branch
  1. 9 core/lib/Drupal/Core/Render/Element/RenderElement.php \Drupal\Core\Render\Element\RenderElement
Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Render/Element/RenderElement.php \Drupal\Core\Render\Element\RenderElement
  2. 8.9.x core/lib/Drupal/Core/Render/Annotation/RenderElement.php \Drupal\Core\Render\Annotation\RenderElement
  3. 10 core/lib/Drupal/Core/Render/Element/RenderElement.php \Drupal\Core\Render\Element\RenderElement
  4. 10 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
  8. 10 core/lib/Drupal/Core/Render/Attribute/RenderElement.php \Drupal\Core\Render\Attribute\RenderElement

Defines a render element plugin annotation 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\RenderElement

\Drupal\Core\Render\Annotation\FormElement

Plugin API

Related topics

32 classes are annotated with RenderElement
Actions in core/lib/Drupal/Core/Render/Element/Actions.php
Provides a wrapper element to group one or more buttons in a form.
Ajax in core/lib/Drupal/Core/Render/Element/Ajax.php
Provides a render element for adding Ajax to a render element.
BreakLockLink in core/lib/Drupal/Core/TempStore/Element/BreakLockLink.php
Provides a link to break a tempstore lock.
Container in core/lib/Drupal/Core/Render/Element/Container.php
Provides a render element that wraps child elements in a container.
ContextualLinks in core/modules/contextual/src/Element/ContextualLinks.php
Provides a contextual_links element.

... See full list

File

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

Namespace

Drupal\Core\Render\Annotation
View source
class RenderElement extends PluginID {

}

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