public function ConfigTranslationOverviewAccess::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 51 - Contains \Drupal\config_translation\Access\ConfigTranslationOverviewAccess.
Class
- ConfigTranslationOverviewAccess
- Checks access for displaying the configuration translation overview.
Namespace
Drupal\config_translation\AccessCode
public function __construct(ConfigMapperManagerInterface $config_mapper_manager, LanguageManagerInterface $language_manager) {
$this->configMapperManager = $config_mapper_manager;
$this->languageManager = $language_manager;
}