function ImportStorageTransformer::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/Config/ImportStorageTransformer.php \Drupal\Core\Config\ImportStorageTransformer::__construct()
- 10 core/lib/Drupal/Core/Config/ImportStorageTransformer.php \Drupal\Core\Config\ImportStorageTransformer::__construct()
- 11.x core/lib/Drupal/Core/Config/ImportStorageTransformer.php \Drupal\Core\Config\ImportStorageTransformer::__construct()
ImportStorageTransformer constructor.
Parameters
\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher.
\Drupal\Core\Database\Connection $connection: The database connection.
\Drupal\Core\Lock\LockBackendInterface $requestLock: The lock for the request.
\Drupal\Core\Lock\LockBackendInterface $persistentLock: The persistent lock used by the config importer.
File
-
core/
lib/ Drupal/ Core/ Config/ ImportStorageTransformer.php, line 68
Class
- ImportStorageTransformer
- The import storage transformer helps to use the configuration management api.
Namespace
Drupal\Core\ConfigCode
public function __construct(EventDispatcherInterface $event_dispatcher, Connection $connection, LockBackendInterface $requestLock, LockBackendInterface $persistentLock) {
$this->eventDispatcher = $event_dispatcher;
$this->connection = $connection;
$this->requestLock = $requestLock;
$this->persistentLock = $persistentLock;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.