public function DisplayPluginInterface::renderArea in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::renderArea()
- 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\displayCode
public function renderArea($area, $empty = FALSE);