function 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\Render\RendererInterface $renderer: The renderer.
\Drupal\Core\Config\ImportStorageTransformer $importTransformer: The import transformer service.
\Drupal\Core\Config\ConfigImporterFactory $configImporterFactory: The config importer factory.
File
-
core/
modules/ config/ src/ Form/ ConfigSync.php, line 41
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 RendererInterface $renderer, protected ImportStorageTransformer $importTransformer, protected ConfigImporterFactory $configImporterFactory) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.