RenderableInterface.php
Same filename in other branches
Namespace
Drupal\Core\RenderFile
-
core/
lib/ Drupal/ Core/ Render/ RenderableInterface.php
View source
<?php
namespace Drupal\Core\Render;
/**
* Defines an object which can be rendered by the Render API.
*/
interface RenderableInterface {
/**
* Returns a render array representation of the object.
*
* @return mixed[]
* A render array.
*/
public function toRenderable();
}
Interfaces
Title | Deprecated | Summary |
---|---|---|
RenderableInterface | Defines an object which can be rendered by the Render API. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.