Implements \Drupal\Core\TypedData\ComplexDataInterface::get().
Overrides ComplexDataInterface::get
public function get($property_name) {
// @todo: Allow navigating through the tree without data as well.
if ($entity = $this
->getValue()) {
return $entity
->get($property_name);
}
}