You are here

public function Report::replace in Forena Reports 8

Same name and namespace in other branches
  1. 7.5 src/Report.php \Drupal\forena\Report::replace()

Perform token replacement on a string in this report.

Parameters

$value:

$raw:

Return value

string Token replaced value.

File

src/Report.php, line 762
Basic report provider. Controls the rendering of the report.

Class

Report

Namespace

Drupal\forena

Code

public function replace($value, $raw = FALSE) {
  return $this->replacer
    ->replace($value, $raw);
}