You are here

public function DisplayPluginInterface::buildRenderable in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::buildRenderable()

Builds a renderable array of the view.

Note: This does not yet contain the executed view, but just the loaded view executable.

Parameters

array $args: (optional) Arguments of the view.

bool $cache: (optional) Specify FALSE in order to opt out of render caching.

Return value

array The render array of a view.

1 method overrides DisplayPluginInterface::buildRenderable()
DisplayPluginBase::buildRenderable in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
Builds a renderable array of the view.

File

core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php, line 492

Class

DisplayPluginInterface
Provides an interface for Views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

public function buildRenderable(array $args = [], $cache = TRUE);