/**
  * {@inheritdoc}
  */
 public function importDelete($name, Config $new_config, Config $old_config)
 {
     // If the field has been deleted in the same import, the instance will be
     // deleted by then, and there is nothing left to do. Just return TRUE so
     // that the file does not get written to active store.
     if (!$old_config->get()) {
         return TRUE;
     }
     return parent::importDelete($name, $new_config, $old_config);
 }
 /**
  * Overrides \Drupal\Core\Config\Entity\ConfigEntityStorage::importDelete().
  */
 public function importDelete($name, Config $new_config, Config $old_config)
 {
     // Set a global value we can check in test code.
     $GLOBALS['hook_config_import'] = __METHOD__;
     return parent::importDelete($name, $new_config, $old_config);
 }