Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / drupal / console / src / Override / ConfigSubscriber.php
1 <?php
2
3 namespace Drupal\Console\Override;
4
5 use Drupal\system\SystemConfigSubscriber;
6 use Drupal\Core\Config\ConfigImporterEvent;
7 use Drupal\Core\Config\ConfigEvents;
8
9 /**
10  * Class ConfigSubscriber
11  *
12  * @package Drupal\Console\Override
13  */
14 class ConfigSubscriber extends SystemConfigSubscriber
15 {
16
17     /**
18      * @param \Drupal\Core\Config\ConfigImporterEvent $event
19      * @return bool
20      */
21     public function onConfigImporterValidateSiteUUID(ConfigImporterEvent $event)
22     {
23         $event->stopPropagation();
24         return true;
25     }
26 }