You are here

public function FilterProcessResult::setProcessedText in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/filter/src/FilterProcessResult.php \Drupal\filter\FilterProcessResult::setProcessedText()
  2. 9 core/modules/filter/src/FilterProcessResult.php \Drupal\filter\FilterProcessResult::setProcessedText()

Sets the processed text.

Parameters

string $processed_text: The text as processed by a text filter.

Return value

$this

File

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

Class

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

Namespace

Drupal\filter

Code

public function setProcessedText($processed_text) {
  $this->processedText = $processed_text;
  return $this;
}