public function ConfigExporter::__construct in Update helper 2.x
Same name and namespace in other branches
- 8 src/ConfigExporter.php \Drupal\update_helper\ConfigExporter::__construct()
ConfigExporter constructor.
Parameters
\Drupal\Core\Config\StorageInterface $extension_config_storage: The extension config storage.
\Drupal\Core\Config\StorageInterface $extension_optional_config_storage: The extension config storage for optional config items.
\Drupal\Component\Serialization\SerializationInterface $serializer: Array serializer service.
File
- src/
ConfigExporter.php, line 49
Class
- ConfigExporter
- Configuration exporter service.
Namespace
Drupal\update_helperCode
public function __construct(StorageInterface $extension_config_storage, StorageInterface $extension_optional_config_storage, SerializationInterface $serializer) {
$this->extensionConfigStorage = $extension_config_storage;
$this->extensionOptionalConfigStorage = $extension_optional_config_storage;
$this->serializer = $serializer;
}