view core/lib/Drupal/Core/Render/RenderableInterface.php @ 2:92f882872392

Trusted hosts, + remove migration modules
author Chris Cannam
date Tue, 05 Dec 2017 09:26:43 +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();

}