function 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;
}

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