Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / Entity / EntityTypeManager.php
index abe96a5c264e8e64832dccbd95dc1cea8bee6c89..9d7fdc5e9294141e8d040cd79c4ad71c223aa053 100644 (file)
@@ -148,6 +148,7 @@ class EntityTypeManager extends DefaultPluginManager implements EntityTypeManage
     parent::useCaches($use_caches);
     if (!$use_caches) {
       $this->handlers = [];
+      $this->container->get('entity.memory_cache')->reset();
     }
   }