You are here

public function ConfigTranslationDeleteForm::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php \Drupal\config_translation\Form\ConfigTranslationDeleteForm::__construct()

Constructs a ConfigTranslationDeleteForm.

Parameters

\Drupal\language\ConfigurableLanguageManagerInterface $language_manager: The language override configuration storage.

\Drupal\config_translation\ConfigMapperManagerInterface $config_mapper_manager: The configuration mapper manager.

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

File

core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php, line 71
Contains \Drupal\config_translation\Form\ConfigTranslationDeleteForm.

Class

ConfigTranslationDeleteForm
Builds a form to delete configuration translation.

Namespace

Drupal\config_translation\Form

Code

public function __construct(ConfigurableLanguageManagerInterface $language_manager, ConfigMapperManagerInterface $config_mapper_manager, ModuleHandlerInterface $module_handler) {
  $this->languageManager = $language_manager;
  $this->configMapperManager = $config_mapper_manager;
  $this->moduleHandler = $module_handler;
}