diff --git a/core/lib/Drupal/Core/Config/ConfigImporter.php b/core/lib/Drupal/Core/Config/ConfigImporter.php index 60f7182..ada5841 100644 --- a/core/lib/Drupal/Core/Config/ConfigImporter.php +++ b/core/lib/Drupal/Core/Config/ConfigImporter.php @@ -295,6 +295,10 @@ protected function importConfig($op, $name) { * @param string $name * The name of the configuration to process. * + * @throws \Drupal\Core\Entity\EntityStorageException + * Thrown if the data is owned by an entity type, but the entity storage + * does not support imports. + * * @return bool * TRUE if the configuration was imported as a configuration entity. FALSE * otherwise. diff --git a/core/lib/Drupal/Core/Config/Entity/ImportableEntityStorageInterface.php b/core/lib/Drupal/Core/Config/Entity/ImportableEntityStorageInterface.php index 39ae1df..6aca4df 100644 --- a/core/lib/Drupal/Core/Config/Entity/ImportableEntityStorageInterface.php +++ b/core/lib/Drupal/Core/Config/Entity/ImportableEntityStorageInterface.php @@ -12,9 +12,8 @@ /** * Provides an interface for responding to configuration imports. * - * These methods are invoked when configuration is synchronized between storages - * and allows the entity storage to take over the synchronization of - * configuration data. + * When configuration is synchronized between storages, the entity storage must + * handle the synchronization of configuration data for its entity. */ interface ImportableEntityStorageInterface {