function 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.
int|null $row_index: (optional) Index of the row element. If NULL the last row is used. Defaults to NULL.
1 method overrides FieldHandlerInterface::tokenizeValue()
- 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/ FieldHandlerInterface.php, line 103
Class
- FieldHandlerInterface
- Base field handler that has no options and renders an unformatted field.
Namespace
Drupal\views\Plugin\views\fieldCode
public function tokenizeValue($value, $row_index = NULL);