public function TextProcessed::setValue

Implements \Drupal\Core\TypedData\TypedDataInterface::setValue().

Overrides TypedData::setValue

File

drupal/core/modules/text/lib/Drupal/text/TextProcessed.php, line 84
Definition of Drupal\text\TextProcessed.

Class

TextProcessed
A computed property for processing text with a format.

Namespace

Drupal\text

Code

public function setValue($value, $notify = TRUE) {
  if (isset($value)) {
    throw new ReadOnlyException('Unable to set a computed property.');
  }
}