You are here

public function DisplayPluginInterface::renderArea in Drupal 9

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()

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.

1 method overrides DisplayPluginInterface::renderArea()
DisplayPluginBase::renderArea in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
Renders one of the available areas.

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);