diff --git a/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php b/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php index 48adc9772a..ebd85e3a24 100644 --- a/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php +++ b/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php @@ -139,6 +139,8 @@ public function __construct(EntityTypeManagerInterface $entity_type_manager, Con protected function installedStorageSchema() { if (!isset($this->installedStorageSchema)) { $this->installedStorageSchema = \Drupal::keyValue('entity.storage_schema.sql'); + // Load all since we'll need to analyse a lot. + $this->installedStorageSchema->getAll(); } return $this->installedStorageSchema; }