function TextProcessed::setValue
Same name in other branches
- 8.9.x core/modules/text/src/TextProcessed.php \Drupal\text\TextProcessed::setValue()
- 10 core/modules/text/src/TextProcessed.php \Drupal\text\TextProcessed::setValue()
- 11.x core/modules/text/src/TextProcessed.php \Drupal\text\TextProcessed::setValue()
Overrides TypedData::setValue
File
-
core/
modules/ text/ src/ TextProcessed.php, line 71
Class
- TextProcessed
- A computed property for processing text with a format.
Namespace
Drupal\textCode
public function setValue($value, $notify = TRUE) {
$this->processed = $value;
// Notify the parent of any changes.
if ($notify && isset($this->parent)) {
$this->parent
->onChange($this->name);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.