interface RenderableInterface in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Render/RenderableInterface.php \Drupal\Core\Render\RenderableInterface
Defines an object which can be rendered by the Render API.
Hierarchy
- interface \Drupal\Core\Render\RenderableInterface
Expanded class hierarchy of RenderableInterface
All classes that implement RenderableInterface
6 files declare their use of RenderableInterface
- Breadcrumb.php in core/
lib/ Drupal/ Core/ Breadcrumb/ Breadcrumb.php - Contains \Drupal\Core\Breadcrumb\Breadcrumb.
- ExampleRenderable.php in core/
modules/ system/ tests/ modules/ twig_theme_test/ src/ ExampleRenderable.php - Contains \Drupal\twig_theme_test\ExampleRenderable.
- Link.php in core/
lib/ Drupal/ Core/ Link.php - Contains \Drupal\Core\Link.
- theme.inc in core/
includes/ theme.inc - The theme system, which controls the output of Drupal.
- TwigExtension.php in core/
lib/ Drupal/ Core/ Template/ TwigExtension.php - Contains \Drupal\Core\Template\TwigExtension.
File
- core/
lib/ Drupal/ Core/ Render/ RenderableInterface.php, line 13 - Contains \Drupal\Core\Render\RenderableInterface.
Namespace
Drupal\Core\RenderView source
interface RenderableInterface {
/**
* Returns a render array representation of the object.
*
* @return mixed[]
* A render array.
*/
public function toRenderable();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RenderableInterface:: |
public | function | Returns a render array representation of the object. | 3 |