function FieldPluginBase::render

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

Overrides FieldHandlerInterface::render

1 call to FieldPluginBase::render()
FieldPluginBase::advancedRender in core/modules/views/src/Plugin/views/field/FieldPluginBase.php
26 methods override FieldPluginBase::render()
Boolean::render in core/modules/views/src/Plugin/views/field/Boolean.php
ContextualLinks::render in core/modules/contextual/src/Plugin/views/field/ContextualLinks.php
Overrides \Drupal\views\Plugin\views\field\FieldPluginBase::render().
Custom::render in core/modules/views/src/Plugin/views/field/Custom.php
Date::render in core/modules/views/src/Plugin/views/field/Date.php
DblogMessage::render in core/modules/dblog/src/Plugin/views/field/DblogMessage.php

... See full list

File

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

Class

FieldPluginBase
Base class for views fields.

Namespace

Drupal\views\Plugin\views\field

Code

public function render(ResultRow $values) {
    $value = $this->getValue($values);
    return $this->sanitizeValue($value);
}

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