You are here

public function ConfigTranslationContextualLinks::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationContextualLinks.php \Drupal\config_translation\Plugin\Derivative\ConfigTranslationContextualLinks::__construct()
  2. 10 core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationContextualLinks.php \Drupal\config_translation\Plugin\Derivative\ConfigTranslationContextualLinks::__construct()

Constructs a new ConfigTranslationContextualLinks.

Parameters

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

File

core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationContextualLinks.php, line 28

Class

ConfigTranslationContextualLinks
Provides dynamic contextual links for configuration translation.

Namespace

Drupal\config_translation\Plugin\Derivative

Code

public function __construct(ConfigMapperManagerInterface $mapper_manager) {
  $this->mapperManager = $mapper_manager;
}