You are here

public function ConfigTranslationController::__construct in Language Hierarchy 2.x

Same name and namespace in other branches
  1. 8 src/Controller/ConfigTranslationController.php \Drupal\language_hierarchy\Controller\ConfigTranslationController::__construct()

Constructs this ConfigTranslationController override.

Parameters

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

\Drupal\Core\Access\AccessManagerInterface $access_manager: The menu link access service.

\Symfony\Component\Routing\Matcher\RequestMatcherInterface $router: The dynamic router service.

\Drupal\Core\PathProcessor\InboundPathProcessorInterface $path_processor: The inbound path processor.

\Drupal\Core\Session\AccountInterface $account: The current user.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

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

\Drupal\language\Config\LanguageConfigFactoryOverrideInterface $config_override: The language configuration override service.

Overrides ConfigTranslationController::__construct

File

src/Controller/ConfigTranslationController.php, line 55

Class

ConfigTranslationController
Overrides the configuration translation overview.

Namespace

Drupal\language_hierarchy\Controller

Code

public function __construct(ConfigMapperManagerInterface $config_mapper_manager, AccessManagerInterface $access_manager, RequestMatcherInterface $router, InboundPathProcessorInterface $path_processor, AccountInterface $account, LanguageManagerInterface $language_manager, RendererInterface $renderer, LanguageConfigFactoryOverrideInterface $config_override) {
  parent::__construct($config_mapper_manager, $access_manager, $router, $path_processor, $account, $language_manager, $renderer);
  $this->configFactoryOverride = $config_override;
}