public function ConfigTranslationLocalTasks::__construct in Drupal 9
Same name and namespace in other branches
- 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 37
Class
- ConfigTranslationLocalTasks
- Provides dynamic local tasks for config translation.
Namespace
Drupal\config_translation\Plugin\DerivativeCode
public function __construct($base_plugin_id, ConfigMapperManagerInterface $mapper_manager) {
$this->basePluginId = $base_plugin_id;
$this->mapperManager = $mapper_manager;
}