view core/lib/Drupal/Core/Render/RenderableInterface.php @ 6:875880e46745

Styling
author Chris Cannam
date Fri, 08 Dec 2017 13:21:27 +0000
parents 4c8ae668cc8c
children
line wrap: on
line 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();

}