ConfigTranslationController::__construct

public ConfigTranslationController::__construct(ConfigMapperManagerInterface $config_mapper_manager, AccessManagerInterface $access_manager, RequestMatcherInterface $router, InboundPathProcessorInterface $path_processor, AccountInterface $account, LanguageManagerInterface $language_manager, RendererInterface $renderer)

Constructs a ConfigTranslationController.

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.

File

core/modules/config_translation/src/Controller/ConfigTranslationController.php, line 94

Class

ConfigTranslationController
Provides page callbacks for the configuration translation interface.

Namespace

Drupal\config_translation\Controller

Code

public function __construct(ConfigMapperManagerInterface $config_mapper_manager, AccessManagerInterface $access_manager, RequestMatcherInterface $router, InboundPathProcessorInterface $path_processor, AccountInterface $account, LanguageManagerInterface $language_manager, RendererInterface $renderer) {
  $this->configMapperManager = $config_mapper_manager;
  $this->accessManager = $access_manager;
  $this->router = $router;
  $this->pathProcessor = $path_processor;
  $this->account = $account;
  $this->languageManager = $language_manager;
  $this->renderer = $renderer;
}
doc_Drupal
2016-10-29 08:54:43
Comments
Leave a Comment

Please login to continue.