function ConfigTranslationLocalTask::mapperManager
Same name in other branches
- 9 core/modules/config_translation/src/Plugin/Menu/LocalTask/ConfigTranslationLocalTask.php \Drupal\config_translation\Plugin\Menu\LocalTask\ConfigTranslationLocalTask::mapperManager()
- 8.9.x core/modules/config_translation/src/Plugin/Menu/LocalTask/ConfigTranslationLocalTask.php \Drupal\config_translation\Plugin\Menu\LocalTask\ConfigTranslationLocalTask::mapperManager()
- 10 core/modules/config_translation/src/Plugin/Menu/LocalTask/ConfigTranslationLocalTask.php \Drupal\config_translation\Plugin\Menu\LocalTask\ConfigTranslationLocalTask::mapperManager()
Gets the mapper manager.
Return value
\Drupal\config_translation\ConfigMapperManagerInterface The mapper manager.
File
-
core/
modules/ config_translation/ src/ Plugin/ Menu/ LocalTask/ ConfigTranslationLocalTask.php, line 40
Class
- ConfigTranslationLocalTask
- Defines a local task plugin with a dynamic title.
Namespace
Drupal\config_translation\Plugin\Menu\LocalTaskCode
protected function mapperManager() {
if (!$this->mapperManager) {
$this->mapperManager = \Drupal::service('plugin.manager.config_translation.mapper');
}
return $this->mapperManager;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.