You are here

protected function UncacheableFieldHandlerTrait::doRender in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/field/UncacheableFieldHandlerTrait.php \Drupal\views\Plugin\views\field\UncacheableFieldHandlerTrait::doRender()
  2. 9 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);
}