public function PluginBase::globalTokenReplace

Returns a string with any core tokens replaced.

Parameters

string $string: The string to preform the token replacement on.

array $options: An array of options, as passed to token_replace.

Return value

string The tokenized string.

4 calls to PluginBase::globalTokenReplace()

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php, line 241
Definition of Drupal\views\Plugin\views\PluginBase.

Class

PluginBase

Namespace

Drupal\views\Plugin\views

Code

public function globalTokenReplace($string = '', array $options = array()) {
  return token_replace($string, array(
    'view' => $this->view,
  ), $options);
}