function UncacheableFieldHandlerTrait::doRender

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/field/UncacheableFieldHandlerTrait.php \Drupal\views\Plugin\views\field\UncacheableFieldHandlerTrait::doRender()
  2. 8.9.x core/modules/views/src/Plugin/views/field/UncacheableFieldHandlerTrait.php \Drupal\views\Plugin\views\field\UncacheableFieldHandlerTrait::doRender()
  3. 10 core/modules/views/src/Plugin/views/field/UncacheableFieldHandlerTrait.php \Drupal\views\Plugin\views\field\UncacheableFieldHandlerTrait::doRender()

Actually renders the field markup.

Parameters

\Drupal\views\ResultRow $row: A result row.

Return value

string The field markup.

1 call to UncacheableFieldHandlerTrait::doRender()
UncacheableFieldHandlerTrait::postRender in core/modules/views/src/Plugin/views/field/UncacheableFieldHandlerTrait.php

File

core/modules/views/src/Plugin/views/field/UncacheableFieldHandlerTrait.php, line 49

Class

UncacheableFieldHandlerTrait
Trait encapsulating the logic for uncacheable field handlers.

Namespace

Drupal\views\Plugin\views\field

Code

protected function doRender(ResultRow $row) {
    return $this->getValue($row);
}

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