Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
if (!($entity_storage instanceof ImportableEntityStorageInterface)) {
throw new EntityStorageException(String::format('The entity storage "@storage" for the "@entity_type" entity type does not support imports', array('@storage' => get_class($entity_storage), '@entity_type' => $entity_type)));
This is happening in ConfigImporter::importInvokeOwner() and when #1740378: Implement renames in the import cycle lands in ConfigImporter::importInvokeRename() as well. This is too late. We should move this to validation so that we fail before the importer lands.
Postponed on #1740378: Implement renames in the import cycle and #2236553: Config import validation needs to be able to list multiple issues and the messages should be translatable
Comments
Comment #1
alexpottComment #2
alexpottBlocker is committed
Comment #3
alexpott