function FilterProcessResult::__construct
Same name and namespace in other branches
- 8.9.x core/modules/filter/src/FilterProcessResult.php \Drupal\filter\FilterProcessResult::__construct()
- 10 core/modules/filter/src/FilterProcessResult.php \Drupal\filter\FilterProcessResult::__construct()
- 11.x core/modules/filter/src/FilterProcessResult.php \Drupal\filter\FilterProcessResult::__construct()
Constructs a FilterProcessResult object.
Parameters
string $processed_text: The text as processed by a text filter.
File
-
core/
modules/ filter/ src/ FilterProcessResult.php, line 81
Class
- FilterProcessResult
- Used to return values from a text filter plugin's processing method.
Namespace
Drupal\filterCode
public function __construct($processed_text = '') {
$this->processedText = $processed_text;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.