You are here

public function ConfigImporterExporter::__construct in Configuration development 8

Creates a ConfigImporterExporter instance.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

\Drupal\Core\Config\StorageInterface $config_storage: The config storage.

\Drupal\Core\Config\ConfigManagerInterface $config_manager: The config manager.

\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher.

\Drupal\Core\Lock\LockBackendInterface $persistent_lock_backend: The lock.

\Drupal\Core\Config\TypedConfigManagerInterface $typed_config_manager: The typed config manager.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

\Drupal\Core\Extension\ModuleInstallerInterface $module_installer: The module installer.

\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler.

\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation service.

\Drupal\Core\Extension\ModuleExtensionList $module_extension_list: The module extension list service.

File

src/ConfigImporterExporter.php, line 135

Class

ConfigImporterExporter
Imports and exports config.

Namespace

Drupal\config_devel

Code

public function __construct(ConfigFactoryInterface $config_factory, StorageInterface $config_storage, ConfigManagerInterface $config_manager, EventDispatcherInterface $event_dispatcher, LockBackendInterface $persistent_lock_backend, TypedConfigManagerInterface $typed_config_manager, ModuleHandlerInterface $module_handler, ModuleInstallerInterface $module_installer, ThemeHandlerInterface $theme_handler, TranslationInterface $string_translation, ModuleExtensionList $module_extension_list) {
  $this->configFactory = $config_factory;
  $this->configStorage = $config_storage;
  $this->configManager = $config_manager;
  $this->eventDispatcher = $event_dispatcher;
  $this->persistentLockBackend = $persistent_lock_backend;
  $this->typedConfigManager = $typed_config_manager;
  $this->moduleHandler = $module_handler;
  $this->moduleInstaller = $module_installer;
  $this->themeHandler = $theme_handler;
  $this->stringTranslation = $string_translation;
  $this->moduleExtensionList = $module_extension_list;
}