function ConfigTranslationContextualLink::mapperManager
Gets the mapper manager.
Return value
\Drupal\config_translation\ConfigMapperManagerInterface The mapper manager.
File
-
core/
modules/ config_translation/ src/ Plugin/ Menu/ ContextualLink/ ConfigTranslationContextualLink.php, line 40
Class
- ConfigTranslationContextualLink
- Defines a contextual link plugin with a dynamic title.
Namespace
Drupal\config_translation\Plugin\Menu\ContextualLinkCode
protected function mapperManager() {
if (!$this->mapperManager) {
$this->mapperManager = \Drupal::service('plugin.manager.config_translation.mapper');
}
return $this->mapperManager;
}