You are here

public function ConfigTranslationOverviewAccess::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/config_translation/src/Access/ConfigTranslationOverviewAccess.php \Drupal\config_translation\Access\ConfigTranslationOverviewAccess::__construct()

Constructs a ConfigTranslationOverviewAccess object.

Parameters

\Drupal\config_translation\ConfigMapperManagerInterface $config_mapper_manager: The mapper plugin discovery service.

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

File

core/modules/config_translation/src/Access/ConfigTranslationOverviewAccess.php, line 41

Class

ConfigTranslationOverviewAccess
Checks access for displaying the configuration translation overview.

Namespace

Drupal\config_translation\Access

Code

public function __construct(ConfigMapperManagerInterface $config_mapper_manager, LanguageManagerInterface $language_manager) {
  $this->configMapperManager = $config_mapper_manager;
  $this->languageManager = $language_manager;
}