diff --git a/core/modules/content_moderation/src/EventSubscriber/ConfigImportSubscriber.php b/core/modules/content_moderation/src/EventSubscriber/ConfigImportSubscriber.php index 930167f04f23383be87003fd965adca2630e8e9d..68eb18dbb8b33ee9e145b8f4985a2681cc5e09d1 100644 --- a/core/modules/content_moderation/src/EventSubscriber/ConfigImportSubscriber.php +++ b/core/modules/content_moderation/src/EventSubscriber/ConfigImportSubscriber.php @@ -47,7 +47,8 @@ public function onConfigImporterValidate(ConfigImporterEvent $event) { foreach (['update', 'delete'] as $op) { $unprocessed_configurations = $event->getConfigImporter()->getUnprocessedConfiguration($op); foreach ($unprocessed_configurations as $unprocessed_configuration) { - if ($workflow = $this->getWorkflow($unprocessed_configuration)) { + if (($workflow = $this->getWorkflow($unprocessed_configuration)) + && $workflow->getTypePlugin()->getPluginId() === 'content_moderation') { if ($op === 'update') { $original_workflow_config = $event->getConfigImporter() ->getStorageComparer()