You are here

public function FilterProcessResult::__toString in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/filter/src/FilterProcessResult.php \Drupal\filter\FilterProcessResult::__toString()
  2. 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();
}