You are here

public function ConfigTranslationFormBase::__construct in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/config_translation/src/Form/ConfigTranslationFormBase.php \Drupal\config_translation\Form\ConfigTranslationFormBase::__construct()
  2. 9 core/modules/config_translation/src/Form/ConfigTranslationFormBase.php \Drupal\config_translation\Form\ConfigTranslationFormBase::__construct()

Constructs a ConfigTranslationFormBase.

Parameters

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

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

\Drupal\language\ConfigurableLanguageManagerInterface $language_manager: The configurable language manager.

File

core/modules/config_translation/src/Form/ConfigTranslationFormBase.php, line 81

Class

ConfigTranslationFormBase
Provides a base form for configuration translations.

Namespace

Drupal\config_translation\Form

Code

public function __construct(TypedConfigManagerInterface $typed_config_manager, ConfigMapperManagerInterface $config_mapper_manager, ConfigurableLanguageManagerInterface $language_manager) {
  $this->typedConfigManager = $typed_config_manager;
  $this->configMapperManager = $config_mapper_manager;
  $this->languageManager = $language_manager;
}