function DisplayPluginInterface::renderArea

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::renderArea()
  2. 8.9.x core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::renderArea()
  3. 11.x 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 425

Class

DisplayPluginInterface
Provides an interface for Views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.