function FieldPluginBase::postRender

Same name and namespace in other branches
  1. 11.x core/modules/views/src/Plugin/views/field/FieldPluginBase.php \Drupal\views\Plugin\views\field\FieldPluginBase::postRender()

File

core/modules/views/src/Plugin/views/field/FieldPluginBase.php, line 1135

Class

FieldPluginBase
Base class for views fields.

Namespace

Drupal\views\Plugin\views\field

Code

public function postRender(ResultRow $row, $output) {
  // Make sure the last rendered value is available also when this is
  // retrieved from cache.
  $this->last_render = $output;
  return [];
}

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