You are here

public function ConfigTranslationLocalTasks::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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 42
Contains \Drupal\config_translation\Plugin\Derivative\ConfigTranslationLocalTasks.

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;
}