function DisplayPluginInterface::renderArea
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::renderArea()
- 10 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::renderArea()
- 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 422
Class
- DisplayPluginInterface
- Provides an interface for Views display plugins.
Namespace
Drupal\views\Plugin\views\displayCode
public function renderArea($area, $empty = FALSE);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.