public function TextProcessed::setValue

Implements TypedDataInterface::setValue().

Overrides String::setValue

File

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

Class

TextProcessed
A computed property for processing text with a format.

Namespace

Drupal\text

Code

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