You are here

public function FieldHandlerInterface::tokenizeValue in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::tokenizeValue()
  2. 9 core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::tokenizeValue()

Replaces a value with tokens from the last field.

This function actually figures out which field was last and uses its tokens so they will all be available.

Parameters

string $value: The raw string.

bool $row_index: The index of current row.

File

core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php, line 95

Class

FieldHandlerInterface
Base field handler that has no options and renders an unformatted field.

Namespace

Drupal\views\Plugin\views\field

Code

public function tokenizeValue($value, $row_index = NULL);