Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. UncacheableFieldHandlerTrait.php

function 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);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal