You are here

public function ConfigSplitManager::__construct in Configuration Split 2.0.x

ConfigSplitManager constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $factory: The config factory.

\Drupal\Core\Config\ConfigManagerInterface $manager: The config manager.

\Drupal\Core\Config\StorageInterface $active: The active config store.

\Drupal\Core\Config\StorageInterface $sync: The sync config store.

\Drupal\Core\Config\StorageInterface $export: The export config store.

\Drupal\Core\Database\Connection $connection: The database connection.

\Drupal\config_split\Config\ConfigPatchMerge $patchMerge: The patch-merge service.

File

src/ConfigSplitManager.php, line 101

Class

ConfigSplitManager
The manager to split and merge.

Namespace

Drupal\config_split

Code

public function __construct(ConfigFactoryInterface $factory, ConfigManagerInterface $manager, StorageInterface $active, StorageInterface $sync, StorageInterface $export, Connection $connection, ConfigPatchMerge $patchMerge) {
  $this->factory = $factory;
  $this->sync = $sync;
  $this->active = $active;
  $this->export = $export;
  $this->connection = $connection;
  $this->manager = $manager;
  $this->patchMerge = $patchMerge;
}