You are here

public function FilterProcessResult::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 86
Contains \Drupal\filter\FilterProcessResult.

Class

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

Namespace

Drupal\filter

Code

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