@@ -1215,8 +1216,19 @@ public function resetCache(?array $ids = NULL) {
if($this->entityType->isPersistentlyCacheable()){
$this->cacheBackend->deleteAll();
}
$this->latestRevisionIds=[];
}
}
/**
* Warns about deprecated/removed properties.
*/
publicfunction__get(string$name):mixed{
if($name==='latestRevisionIds'){
@trigger_error('Getting the static cache of latest revision IDs is deprecated in drupal:11.2.5 and is removed from drupal:12.0.0. You can retrieve it from the \'entity.memory_cache\' service instead. See https://www.drupal.org/node/3535160',E_USER_DEPRECATED);