function AreaPluginBase::render

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/area/AreaPluginBase.php \Drupal\views\Plugin\views\area\AreaPluginBase::render()
  2. 8.9.x core/modules/views/src/Plugin/views/area/AreaPluginBase.php \Drupal\views\Plugin\views\area\AreaPluginBase::render()
  3. 10 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
DisplayLink::render in core/modules/views/src/Plugin/views/area/DisplayLink.php
Entity::render in core/modules/views/src/Plugin/views/area/Entity.php
HTTPStatusCode::render in core/modules/views/src/Plugin/views/area/HTTPStatusCode.php
ListingEmpty::render in core/modules/node/src/Plugin/views/area/ListingEmpty.php

... See full list

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\area

Code

public abstract function render($empty = FALSE);

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