core/lib/Drupal/Core/Entity/EntityStorageBase.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/lib/Drupal/Core/Entity/EntityStorageBase.php b/core/lib/Drupal/Core/Entity/EntityStorageBase.php index f10eba9..efe9dcb 100644 --- a/core/lib/Drupal/Core/Entity/EntityStorageBase.php +++ b/core/lib/Drupal/Core/Entity/EntityStorageBase.php @@ -408,6 +408,11 @@ public function save(EntityInterface $entity) { unset($entity->original); + if (!$is_new) { + // Reset the static cache when updating an entity. + $this->resetCache(array($id)); + } + return $return; }