function ConfigSync::__construct

Same name in other branches
  1. 9 core/modules/config/src/Form/ConfigSync.php \Drupal\config\Form\ConfigSync::__construct()
  2. 8.9.x core/modules/config/src/Form/ConfigSync.php \Drupal\config\Form\ConfigSync::__construct()
  3. 10 core/modules/config/src/Form/ConfigSync.php \Drupal\config\Form\ConfigSync::__construct()

Constructs the object.

Parameters

\Drupal\Core\Config\StorageInterface $syncStorage: The source storage.

\Drupal\Core\Config\StorageInterface $activeStorage: The target storage.

\Drupal\Core\Config\StorageInterface $snapshotStorage: The snapshot storage.

\Drupal\Core\Lock\LockBackendInterface $lock: The lock object.

\Symfony\Contracts\EventDispatcher\EventDispatcherInterface $eventDispatcher: Event dispatcher.

\Drupal\Core\Config\ConfigManagerInterface $configManager: Configuration manager.

\Drupal\Core\Config\TypedConfigManagerInterface $typedConfigManager: The typed configuration manager.

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module handler.

\Drupal\Core\Extension\ModuleInstallerInterface $moduleInstaller: The module installer.

\Drupal\Core\Extension\ThemeHandlerInterface $themeHandler: The theme handler.

\Drupal\Core\Render\RendererInterface $renderer: The renderer.

\Drupal\Core\Extension\ModuleExtensionList $moduleExtensionList: The module extension list

\Drupal\Core\Config\ImportStorageTransformer $importTransformer: The import transformer service.

\Drupal\Core\Extension\ThemeExtensionList $themeExtensionList: The theme extension list.

File

core/modules/config/src/Form/ConfigSync.php, line 66

Class

ConfigSync
Construct the storage changes in a configuration synchronization form.

Namespace

Drupal\config\Form

Code

public function __construct(StorageInterface $syncStorage, StorageInterface $activeStorage, StorageInterface $snapshotStorage, LockBackendInterface $lock, EventDispatcherInterface $eventDispatcher, ConfigManagerInterface $configManager, TypedConfigManagerInterface $typedConfigManager, ModuleHandlerInterface $moduleHandler, ModuleInstallerInterface $moduleInstaller, ThemeHandlerInterface $themeHandler, RendererInterface $renderer, ModuleExtensionList $moduleExtensionList, ImportStorageTransformer $importTransformer, ThemeExtensionList $themeExtensionList) {
}

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