function SyncFactory::__construct

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Config/SyncFactory.php \Drupal\Core\Config\SyncFactory::__construct()

File

core/lib/Drupal/Core/Config/SyncFactory.php, line 19

Class

SyncFactory
The factory class to create the config.storage.sync service.

Namespace

Drupal\Core\Config

Code

public function __construct(#[Autowire(param: 'app.root')] protected readonly string $root, protected readonly Settings $settings, #[Autowire(service: 'config.storage')] protected readonly StorageInterface $activeConfig, protected readonly ModuleExtensionList $moduleExtensionList, protected readonly ThemeExtensionList $themeExtensionList) {
}

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