function FilterProcessResult::setProcessedText
Same name in other branches
- 9 core/modules/filter/src/FilterProcessResult.php \Drupal\filter\FilterProcessResult::setProcessedText()
- 8.9.x core/modules/filter/src/FilterProcessResult.php \Drupal\filter\FilterProcessResult::setProcessedText()
- 10 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\filterCode
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.