class RenderElement in Zircon Profile 8.0
Same name in this branch
- 8.0 core/lib/Drupal/Core/Render/Annotation/RenderElement.php \Drupal\Core\Render\Annotation\RenderElement
- 8.0 core/lib/Drupal/Core/Render/Element/RenderElement.php \Drupal\Core\Render\Element\RenderElement
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Render/Annotation/RenderElement.php \Drupal\Core\Render\Annotation\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 AnnotationInterface
- class \Drupal\Component\Annotation\PluginID
- class \Drupal\Core\Render\Annotation\RenderElement
- class \Drupal\Component\Annotation\PluginID
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
29 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.
- 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.
- ContextualLinksPlaceholder in core/
modules/ contextual/ src/ Element/ ContextualLinksPlaceholder.php - Provides a contextual_links_placeholder element.
File
- core/
lib/ Drupal/ Core/ Render/ Annotation/ RenderElement.php, line 32 - Contains \Drupal\Core\Render\Annotation\RenderElement.
Namespace
Drupal\Core\Render\AnnotationView source
class RenderElement extends PluginID {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AnnotationBase:: |
protected | property | The class used for this annotated class. | |
AnnotationBase:: |
public | property | The annotated class ID. | 1 |
AnnotationBase:: |
protected | property | The provider of the annotated class. | |
AnnotationBase:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
AnnotationBase:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
AnnotationBase:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
AnnotationBase:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
PluginID:: |
public | property | The plugin ID. | |
PluginID:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
|
PluginID:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationBase:: |