function FieldPluginBase::renderAltered

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

Render this field as user-defined altered text.

File

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

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

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