function FilterProcessResult::__toString

Same name and namespace in other branches
  1. 9 core/modules/filter/src/FilterProcessResult.php \Drupal\filter\FilterProcessResult::__toString()
  2. 8.9.x core/modules/filter/src/FilterProcessResult.php \Drupal\filter\FilterProcessResult::__toString()
  3. 10 core/modules/filter/src/FilterProcessResult.php \Drupal\filter\FilterProcessResult::__toString()

Gets the processed text.

Return value

string

File

core/modules/filter/src/FilterProcessResult.php, line 99

Class

FilterProcessResult
Used to return values from a text filter plugin's processing method.

Namespace

Drupal\filter

Code

public function __toString() {
    return $this->getProcessedText();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.