protected function TwigExtensionBase::getLanguageManager in Bamboo Twig 8.5
Same name and namespace in other branches
- 8.2 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getLanguageManager()
- 8.3 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getLanguageManager()
- 8.4 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getLanguageManager()
Returns the language manager service.
Return value
\Drupal\Core\Language\LanguageManagerInterface The Language Manager service.
File
- src/
TwigExtension/ TwigExtensionBase.php, line 217
Class
- TwigExtensionBase
- Provides a Twig Extension Lazy Service Injection.
Namespace
Drupal\bamboo_twig\TwigExtensionCode
protected function getLanguageManager() {
return $this->container
->get('language_manager');
}