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

Breadcrumb

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

function 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 1403

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

API Navigation

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