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. 11.x 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
Renders a field using advanced settings.
26 methods override FieldPluginBase::render()
Boolean::render in core/modules/views/src/Plugin/views/field/Boolean.php
Renders the field.
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
Renders the field.
Date::render in core/modules/views/src/Plugin/views/field/Date.php
Renders the field.
DblogMessage::render in core/modules/dblog/src/Plugin/views/field/DblogMessage.php
Renders the field.

... 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.