Loading src/PathautoState.php +4 −0 Changes for src/PathautoState.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -67,6 +67,10 @@ class PathautoState extends TypedData { if ($this->originalValue === NULL) { // If no value has been set or loaded yet, try to load a value if this // entity has already been saved. if ($this->parent->getEntity()->isNew()) { return NULL; } $this->originalValue = \Drupal::keyValue($this->getCollection()) ->get(static::getPathautoStateKey($this->parent->getEntity()->id())); } Loading Loading
src/PathautoState.php +4 −0 Changes for src/PathautoState.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -67,6 +67,10 @@ class PathautoState extends TypedData { if ($this->originalValue === NULL) { // If no value has been set or loaded yet, try to load a value if this // entity has already been saved. if ($this->parent->getEntity()->isNew()) { return NULL; } $this->originalValue = \Drupal::keyValue($this->getCollection()) ->get(static::getPathautoStateKey($this->parent->getEntity()->id())); } Loading