Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / drupal / console / src / Override / ConfigSubscriber.php
diff --git a/vendor/drupal/console/src/Override/ConfigSubscriber.php b/vendor/drupal/console/src/Override/ConfigSubscriber.php
new file mode 100644 (file)
index 0000000..2452f01
--- /dev/null
@@ -0,0 +1,26 @@
+<?php
+
+namespace Drupal\Console\Override;
+
+use Drupal\system\SystemConfigSubscriber;
+use Drupal\Core\Config\ConfigImporterEvent;
+use Drupal\Core\Config\ConfigEvents;
+
+/**
+ * Class ConfigSubscriber
+ *
+ * @package Drupal\Console\Override
+ */
+class ConfigSubscriber extends SystemConfigSubscriber
+{
+
+    /**
+     * @param \Drupal\Core\Config\ConfigImporterEvent $event
+     * @return bool
+     */
+    public function onConfigImporterValidateSiteUUID(ConfigImporterEvent $event)
+    {
+        $event->stopPropagation();
+        return true;
+    }
+}