comparison core/modules/system/src/SystemConfigSubscriber.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children 129ea1e6d783
comparison
equal deleted inserted replaced
11:bfffd8d7479a 12:7a779792577d
66 * Checks that the configuration synchronization is valid. 66 * Checks that the configuration synchronization is valid.
67 * 67 *
68 * This event listener checks that the system.site:uuid's in the source and 68 * This event listener checks that the system.site:uuid's in the source and
69 * target match. 69 * target match.
70 * 70 *
71 * @param ConfigImporterEvent $event 71 * @param \Drupal\Core\Config\ConfigImporterEvent $event
72 * The config import event. 72 * The config import event.
73 */ 73 */
74 public function onConfigImporterValidateSiteUUID(ConfigImporterEvent $event) { 74 public function onConfigImporterValidateSiteUUID(ConfigImporterEvent $event) {
75 if (!$event->getConfigImporter()->getStorageComparer()->validateSiteUuid()) { 75 if (!$event->getConfigImporter()->getStorageComparer()->validateSiteUuid()) {
76 $event->getConfigImporter()->logError($this->t('Site UUID in source storage does not match the target storage.')); 76 $event->getConfigImporter()->logError($this->t('Site UUID in source storage does not match the target storage.'));