You are here

public function BaseController::viewPlaceholders in Render cache 7.2

Parameters

object[] $objects:

Return value

array

Overrides ControllerInterface::viewPlaceholders

File

src/RenderCache/Controller/BaseController.php, line 81
Contains \Drupal\render_cache\RenderCache\Controller\BaseController

Class

BaseController
Base class for Controller plugin objects.

Namespace

Drupal\render_cache\RenderCache\Controller

Code

public function viewPlaceholders(array $objects) {
  $object_build = array();
  if (!empty($objects)) {
    $object_build = $this
      ->render($objects);
  }
  return $object_build;
}