You are here

public static function DisplayPluginInterface::buildBasicRenderable in Drupal 10

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()
  2. 9 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.

3 calls to DisplayPluginInterface::buildBasicRenderable()
Feed::buildResponse in core/modules/views/src/Plugin/views/display/Feed.php
Builds up a response with the rendered view as content.
Page::buildBasicRenderable in core/modules/views/src/Plugin/views/display/Page.php
Builds a basic render array which can be properly render cached.
RestExport::buildResponse in core/modules/rest/src/Plugin/views/display/RestExport.php
Builds up a response with the rendered view as content.
1 method overrides DisplayPluginInterface::buildBasicRenderable()
Page::buildBasicRenderable in core/modules/views/src/Plugin/views/display/Page.php
Builds a basic render array which can be properly render cached.

File

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

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 = []);