ConfigTranslationFormBase::__construct

public ConfigTranslationFormBase::__construct(TypedConfigManagerInterface $typed_config_manager, ConfigMapperManagerInterface $config_mapper_manager, ConfigurableLanguageManagerInterface $language_manager)

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 80

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;
}
doc_Drupal
2016-10-29 08:54:59
Comments
Leave a Comment

Please login to continue.