function ConfigTranslationContextualLinks::__construct

Same name in other branches
  1. 9 core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationContextualLinks.php \Drupal\config_translation\Plugin\Derivative\ConfigTranslationContextualLinks::__construct()
  2. 8.9.x core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationContextualLinks.php \Drupal\config_translation\Plugin\Derivative\ConfigTranslationContextualLinks::__construct()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.