Implements \Drupal\Core\TypedData\TypedDataInterface::getValue().
Overrides TypedData::getValue
public function getValue() {
if (!isset($this->value)) {
if (!isset($this->parent)) {
throw new InvalidArgumentException('Computed properties require context for computation.');
}
$field = $this->parent
->getParent();
$entity = $field
->getParent();
$this->value = node_mark($entity->nid->target_id, $entity->changed->value);
}
return $this->value;
}