Replaces value with special views tokens and global tokens.
string $value: The value to eventually tokenize.
string Tokenized value if tokenize option is enabled. In any case global tokens will be replaced.
public function tokenizeValue($value) {
if ($this->options['tokenize']) {
$value = $this->view->style_plugin
->tokenizeValue($value, 0);
}
// As we add the globalTokenForm() we also should replace the token here.
return $this
->globalTokenReplace($value);
}