function ConfigSync::__construct
Same name and namespace in other branches
- 9 core/modules/config/src/Form/ConfigSync.php \Drupal\config\Form\ConfigSync::__construct()
- 8.9.x core/modules/config/src/Form/ConfigSync.php \Drupal\config\Form\ConfigSync::__construct()
- 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\FormCode
public function __construct(protected StorageInterface $syncStorage, protected StorageInterface $activeStorage, protected StorageInterface $snapshotStorage, protected LockBackendInterface $lock, protected EventDispatcherInterface $eventDispatcher, protected ConfigManagerInterface $configManager, protected TypedConfigManagerInterface $typedConfigManager, protected ModuleHandlerInterface $moduleHandler, protected ModuleInstallerInterface $moduleInstaller, protected ThemeHandlerInterface $themeHandler, protected RendererInterface $renderer, protected ModuleExtensionList $moduleExtensionList, protected ImportStorageTransformer $importTransformer, protected ThemeExtensionList $themeExtensionList) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.