You are here

public function DisplayPluginInterface::renderArea 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::renderArea()
  2. 9 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::renderArea()

Renders one of the available areas.

Parameters

string $area: Identifier of the specific area to render.

bool $empty: (optional) Indicator whether or not the view result is empty. Defaults to FALSE

Return value

array A render array for the given area.

File

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

Class

DisplayPluginInterface
Provides an interface for Views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

public function renderArea($area, $empty = FALSE);