Implements \Drupal\Core\TypedData\TypedDataInterface::getPropertyPath().
Overrides TypedDataInterface::getPropertyPath
public function getPropertyPath() {
if (isset($this->parent)) {
// The property path of this data object is the parent's path appended
// by this object's name.
$prefix = $this->parent
->getPropertyPath();
return (strlen($prefix) ? $prefix . '.' : '') . $this->name;
}
elseif (isset($this->name)) {
return $this->name;
}
return '';
}