comparison core/modules/config/src/ConfigSubscriber.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 c2387f117808
comparison
equal deleted inserted replaced
11:bfffd8d7479a 12:7a779792577d
12 class ConfigSubscriber extends ConfigImportValidateEventSubscriberBase { 12 class ConfigSubscriber extends ConfigImportValidateEventSubscriberBase {
13 13
14 /** 14 /**
15 * Checks that the Configuration module is not being uninstalled. 15 * Checks that the Configuration module is not being uninstalled.
16 * 16 *
17 * @param ConfigImporterEvent $event 17 * @param \Drupal\Core\Config\ConfigImporterEvent $event
18 * The config import event. 18 * The config import event.
19 */ 19 */
20 public function onConfigImporterValidate(ConfigImporterEvent $event) { 20 public function onConfigImporterValidate(ConfigImporterEvent $event) {
21 $importer = $event->getConfigImporter(); 21 $importer = $event->getConfigImporter();
22 $core_extension = $importer->getStorageComparer()->getSourceStorage()->read('core.extension'); 22 $core_extension = $importer->getStorageComparer()->getSourceStorage()->read('core.extension');