Implements \Drupal\Core\TypedData\TypedDataInterface::setValue().
Overrides TypedDataInterface::setValue
public function setValue($value, $notify = TRUE) {
// Notify the parent of any changes to be made.
if ($notify && isset($this->parent)) {
$this->parent
->onChange($this->name);
}
$this->value = $value;
}