class RenderElement
Same name in this branch
- 10 core/lib/Drupal/Core/Render/Element/RenderElement.php \Drupal\Core\Render\Element\RenderElement
- 10 core/lib/Drupal/Core/Render/Attribute/RenderElement.php \Drupal\Core\Render\Attribute\RenderElement
Same name in other branches
- 9 core/lib/Drupal/Core/Render/Element/RenderElement.php \Drupal\Core\Render\Element\RenderElement
- 9 core/lib/Drupal/Core/Render/Annotation/RenderElement.php \Drupal\Core\Render\Annotation\RenderElement
- 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
- 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
- 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\RenderElementBase
\Drupal\Core\Render\Annotation\FormElement
Related topics
1 class is annotated with RenderElement
- ComponentElement in core/
modules/ sdc/ src/ Element/ ComponentElement.php - Provides a Single Directory Component render 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.