Loading core/lib/Drupal/Core/TypedData/TypedData.php +1 −1 Original line number Diff line number Diff line Loading @@ -175,7 +175,7 @@ public function getPropertyPath() { // 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; return $prefix !== '' ? "{$prefix}.{$this->name}" : $this->name; } // If no parent is set, this is the root of the data tree. Thus the property // path equals the name of this data object. Loading Loading
core/lib/Drupal/Core/TypedData/TypedData.php +1 −1 Original line number Diff line number Diff line Loading @@ -175,7 +175,7 @@ public function getPropertyPath() { // 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; return $prefix !== '' ? "{$prefix}.{$this->name}" : $this->name; } // If no parent is set, this is the root of the data tree. Thus the property // path equals the name of this data object. Loading