class RenderElement
Same name in this branch
- 9 core/lib/Drupal/Core/Render/Element/RenderElement.php \Drupal\Core\Render\Element\RenderElement
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Render/Element/RenderElement.php \Drupal\Core\Render\Element\RenderElement
- 8.9.x core/lib/Drupal/Core/Render/Annotation/RenderElement.php \Drupal\Core\Render\Annotation\RenderElement
- 10 core/lib/Drupal/Core/Render/Element/RenderElement.php \Drupal\Core\Render\Element\RenderElement
- 10 core/lib/Drupal/Core/Render/Annotation/RenderElement.php \Drupal\Core\Render\Annotation\RenderElement
- 11.x core/lib/Drupal/Core/Render/Element/RenderElement.php \Drupal\Core\Render\Element\RenderElement
- 11.x core/lib/Drupal/Core/Render/Annotation/RenderElement.php \Drupal\Core\Render\Annotation\RenderElement
- 10 core/lib/Drupal/Core/Render/Attribute/RenderElement.php \Drupal\Core\Render\Attribute\RenderElement
- 11.x 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
- class \Drupal\Component\Annotation\AnnotationBase implements \Drupal\Component\Annotation\AnnotationInterface
- class \Drupal\Component\Annotation\PluginID extends \Drupal\Component\Annotation\AnnotationBase
- class \Drupal\Core\Render\Annotation\RenderElement extends \Drupal\Component\Annotation\PluginID
- class \Drupal\Component\Annotation\PluginID extends \Drupal\Component\Annotation\AnnotationBase
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
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.
File
-
core/
lib/ Drupal/ Core/ Render/ Annotation/ RenderElement.php, line 27
Namespace
Drupal\Core\Render\AnnotationView source
class RenderElement extends PluginID {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.