You are here

protected function ConfigTranslationLocalTask::mapperManager in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 45
Contains \Drupal\config_translation\Plugin\Menu\LocalTask\ConfigTranslationLocalTask.

Class

ConfigTranslationLocalTask
Defines a local task plugin with a dynamic title.

Namespace

Drupal\config_translation\Plugin\Menu\LocalTask

Code

protected function mapperManager() {
  if (!$this->mapperManager) {
    $this->mapperManager = \Drupal::service('plugin.manager.config_translation.mapper');
  }
  return $this->mapperManager;
}