function CheckpointStorageTest::getConfigImporter

Same name in other branches
  1. 11.x core/tests/Drupal/KernelTests/Core/Config/Storage/Checkpoint/CheckpointStorageTest.php \Drupal\KernelTests\Core\Config\Storage\Checkpoint\CheckpointStorageTest::getConfigImporter()
2 calls to CheckpointStorageTest::getConfigImporter()
CheckpointStorageTest::testRevert in core/tests/Drupal/KernelTests/Core/Config/Storage/Checkpoint/CheckpointStorageTest.php
CheckpointStorageTest::testRevertWithCollections in core/tests/Drupal/KernelTests/Core/Config/Storage/Checkpoint/CheckpointStorageTest.php

File

core/tests/Drupal/KernelTests/Core/Config/Storage/Checkpoint/CheckpointStorageTest.php, line 290

Class

CheckpointStorageTest
Tests CheckpointStorage operations.

Namespace

Drupal\KernelTests\Core\Config\Storage\Checkpoint

Code

private function getConfigImporter(CheckpointStorageInterface $storage) : ConfigImporter {
    $storage_comparer = new StorageComparer($storage, $this->container
        ->get('config.storage'));
    return new ConfigImporter($storage_comparer, $this->container
        ->get('event_dispatcher'), $this->container
        ->get('config.manager'), $this->container
        ->get('lock'), $this->container
        ->get('config.typed'), $this->container
        ->get('module_handler'), $this->container
        ->get('module_installer'), $this->container
        ->get('theme_handler'), $this->container
        ->get('string_translation'), $this->container
        ->get('extension.list.module'), $this->container
        ->get('extension.list.theme'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.