function ConfigSingleImportForm::__construct

Same name and namespace in other branches
  1. 9 core/modules/config/src/Form/ConfigSingleImportForm.php \Drupal\config\Form\ConfigSingleImportForm::__construct()
  2. 8.9.x core/modules/config/src/Form/ConfigSingleImportForm.php \Drupal\config\Form\ConfigSingleImportForm::__construct()
  3. 10 core/modules/config/src/Form/ConfigSingleImportForm.php \Drupal\config\Form\ConfigSingleImportForm::__construct()

Constructs a new ConfigSingleImportForm.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.

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

\Drupal\Core\Render\RendererInterface $renderer: The renderer service.

\Symfony\Contracts\EventDispatcher\EventDispatcherInterface $eventDispatcher: The event dispatcher used to notify subscribers of config import events.

\Drupal\Core\Config\ConfigManagerInterface $configManager: The configuration manager.

\Drupal\Core\Lock\LockBackendInterface $lock: The lock backend to ensure multiple imports do not occur at the same time.

\Drupal\Core\Config\TypedConfigManagerInterface $typedConfigManager: The typed configuration manager.

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

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

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

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

\Drupal\Core\Extension\ThemeExtensionList $themeExtensionList: The theme extension list.

File

core/modules/config/src/Form/ConfigSingleImportForm.php, line 80

Class

ConfigSingleImportForm
Provides a form for importing a single configuration file.

Namespace

Drupal\config\Form

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager, StorageInterface $configStorage, RendererInterface $renderer, EventDispatcherInterface $eventDispatcher, ConfigManagerInterface $configManager, LockBackendInterface $lock, TypedConfigManagerInterface $typedConfigManager, ModuleHandlerInterface $moduleHandler, ModuleInstallerInterface $moduleInstaller, ThemeHandlerInterface $themeHandler, ModuleExtensionList $moduleExtensionList, ThemeExtensionList $themeExtensionList) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.