function ConfigTranslationLocalTasks::__construct

Same name in other branches
  1. 9 core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationLocalTasks.php \Drupal\config_translation\Plugin\Derivative\ConfigTranslationLocalTasks::__construct()
  2. 10 core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationLocalTasks.php \Drupal\config_translation\Plugin\Derivative\ConfigTranslationLocalTasks::__construct()
  3. 11.x core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationLocalTasks.php \Drupal\config_translation\Plugin\Derivative\ConfigTranslationLocalTasks::__construct()

Constructs a new ConfigTranslationLocalTasks.

Parameters

string $base_plugin_id: The base plugin ID.

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

File

core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationLocalTasks.php, line 37

Class

ConfigTranslationLocalTasks
Provides dynamic local tasks for config translation.

Namespace

Drupal\config_translation\Plugin\Derivative

Code

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

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