public function SourceStorage::__construct in Configuration installer 8
Constructs a SourceStorage object.
Parameters
\Drupal\Core\Config\StorageInterface $base_storage: The configuration storage to wrap.
array $profiles: The available install profiles.
File
- src/
Storage/ SourceStorage.php, line 36
Class
- SourceStorage
- Wraps the sync storage so the config_installer can make modifications.
Namespace
Drupal\config_installer\StorageCode
public function __construct(StorageInterface $base_storage, array $profiles) {
$this->baseStorage = $base_storage;
$this->profiles = $profiles;
}