Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / system / tests / modules / entity_test_update / src / EntityTestUpdateStorageSchema.php
index 2b75e8309fc2e30a963e4a48ad7ea8aad2d03843..f04466fbc31be9bab8373722401a732030687a3e 100644 (file)
@@ -18,7 +18,7 @@ class EntityTestUpdateStorageSchema extends SqlContentEntityStorageSchema {
     $schema = parent::getEntitySchema($entity_type, $reset);
 
     if ($entity_type->id() == 'entity_test_update') {
-      $schema[$entity_type->getBaseTable()]['indexes'] += \Drupal::state()->get('entity_test_update.additional_entity_indexes', []);
+      $schema[$this->storage->getBaseTable()]['indexes'] += \Drupal::state()->get('entity_test_update.additional_entity_indexes', []);
     }
     return $schema;
   }