function AreaPluginBase::render
Same name in other branches
- 9 core/modules/views/src/Plugin/views/area/AreaPluginBase.php \Drupal\views\Plugin\views\area\AreaPluginBase::render()
- 8.9.x core/modules/views/src/Plugin/views/area/AreaPluginBase.php \Drupal\views\Plugin\views\area\AreaPluginBase::render()
- 11.x core/modules/views/src/Plugin/views/area/AreaPluginBase.php \Drupal\views\Plugin\views\area\AreaPluginBase::render()
Render the area.
Parameters
bool $empty: (optional) Indicator if view result is empty or not. Defaults to FALSE.
Return value
array In any case we need a valid Drupal render array to return.
13 methods override AreaPluginBase::render()
- Broken::render in core/
modules/ views/ src/ Plugin/ views/ area/ Broken.php - Render the area.
- DisplayLink::render in core/
modules/ views/ src/ Plugin/ views/ area/ DisplayLink.php - Render the area.
- Entity::render in core/
modules/ views/ src/ Plugin/ views/ area/ Entity.php - Render the area.
- HTTPStatusCode::render in core/
modules/ views/ src/ Plugin/ views/ area/ HTTPStatusCode.php - Render the area.
- ListingEmpty::render in core/
modules/ node/ src/ Plugin/ views/ area/ ListingEmpty.php - Render the area.
File
-
core/
modules/ views/ src/ Plugin/ views/ area/ AreaPluginBase.php, line 110
Class
- AreaPluginBase
- Base class for area handler plugins.
Namespace
Drupal\views\Plugin\views\areaCode
public abstract function render($empty = FALSE);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.