public function RenderableInterface::toRenderable in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Render/RenderableInterface.php \Drupal\Core\Render\RenderableInterface::toRenderable()
Returns a render array representation of the object.
Return value
mixed[] A render array.
3 methods override RenderableInterface::toRenderable()
- Breadcrumb::toRenderable in core/
lib/ Drupal/ Core/ Breadcrumb/ Breadcrumb.php - Returns a render array representation of the object.
- ExampleRenderable::toRenderable in core/
modules/ system/ tests/ modules/ twig_theme_test/ src/ ExampleRenderable.php - Returns a render array representation of the object.
- Link::toRenderable in core/
lib/ Drupal/ Core/ Link.php - Returns a render array representation of the object.
File
- core/
lib/ Drupal/ Core/ Render/ RenderableInterface.php, line 21 - Contains \Drupal\Core\Render\RenderableInterface.
Class
- RenderableInterface
- Defines an object which can be rendered by the Render API.
Namespace
Drupal\Core\RenderCode
public function toRenderable();