You are here

public static function DisplayPluginInterface::buildBasicRenderable in Zircon Profile 8.0

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

Builds a basic render array which can be properly render cached.

In order to be rendered cached, it includes cache keys as well as the data required to load the view on cache misses.

Parameters

string $view_id: The view ID.

string $display_id: The display ID.

array $args: (optional) The view arguments.

Return value

array The view render array.

1 method overrides DisplayPluginInterface::buildBasicRenderable()
DisplayPluginBase::buildBasicRenderable in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
Builds a basic render array which can be properly render cached.

File

core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php, line 482
Contains \Drupal\views\Plugin\views\display\DisplayPluginInterface.

Class

DisplayPluginInterface
Provides an interface for Views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

public static function buildBasicRenderable($view_id, $display_id, array $args = []);