You are here

protected function FieldPluginBase::renderAltered in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Plugin/views/field/FieldPluginBase.php \Drupal\views\Plugin\views\field\FieldPluginBase::renderAltered()

Render this field as user-defined altered text.

2 calls to FieldPluginBase::renderAltered()
FieldPluginBase::renderText in core/modules/views/src/Plugin/views/field/FieldPluginBase.php
Performs an advanced text render for the item.
FieldPluginBase::tokenizeValue in core/modules/views/src/Plugin/views/field/FieldPluginBase.php
Replaces a value with tokens from the last field.

File

core/modules/views/src/Plugin/views/field/FieldPluginBase.php, line 1318
Contains \Drupal\views\Plugin\views\field\FieldPluginBase.

Class

FieldPluginBase
Base class for views fields.

Namespace

Drupal\views\Plugin\views\field

Code

protected function renderAltered($alter, $tokens) {
  return $this
    ->viewsTokenReplace($alter['text'], $tokens);
}