Commit af815157 authored by samuel.mortenson's avatar samuel.mortenson Committed by Samuel Mortenson

Issue #3063340 by samuel.mortenson: Import Partial Form doesn't work with 8.6

parent f78d9a55
......@@ -191,7 +191,8 @@ class ImportPartialForm extends FormBase {
// Inform the user if a config import needs to be made. This has to be done
// before a content import in case bundles or fields change.
$storage_comparer = new StorageComparer($this->syncStorage, $this->activeStorage);
// @todo Remove temporary third argument when 8.6.x EOLs.
$storage_comparer = new StorageComparer($this->syncStorage, $this->activeStorage, \Drupal::service('config.manager'));
if (!empty($this->syncStorage->listAll()) && $storage_comparer->createChangelist()->hasChanges()) {
$message = $this->t('There are configuration changes that need importing.');
$url = Url::fromRoute('config.sync', [], [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment