diff --git a/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php b/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php index a3bb20508f..a2af8ca5f6 100644 --- a/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php +++ b/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php @@ -805,4 +805,15 @@ protected function buildCacheId($id) { return "values:{$this->entityTypeId}:$id"; } + /** + * Resets the internal, static entity cache. + * + * @param array $ids + * (optional) If specified, the cache is reset for the entities with the + * given ids only. + */ + public function resetStaticCache(array $ids = NULL) { + parent::resetCache($ids); + } + }