You are here

interface ControllerInterface in Render cache 7.2

Interface to describe how RenderCache controller plugin objects are implemented.

Hierarchy

Expanded class hierarchy of ControllerInterface

All classes that implement ControllerInterface

File

src/RenderCache/Controller/ControllerInterface.php, line 14
Contains \Drupal\render_cache\RenderCache\Controller\ControllerInterface

Namespace

Drupal\render_cache\RenderCache\Controller
View source
interface ControllerInterface {

  /**
   * @return array
   */
  public function getContext();

  /**
   * @param array $context
   */
  public function setContext(array $context);

  /**
   * @param array $objects
   *
   * @return array
   */
  public function view(array $objects);

  /**
   * @param object[] $objects
   *
   * @return array
   */
  public function viewPlaceholders(array $objects);

  /**
   * @param array $args
   *
   * @return string
   */
  public static function renderPlaceholders(array $args);

}

Members