protected function TwigExtensionBase::getUserStorage in Bamboo Twig 8.4
Same name and namespace in other branches
- 8.5 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getUserStorage()
- 8.2 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getUserStorage()
- 8.3 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getUserStorage()
Return the user storage.
Return value
\Drupal\user\UserStorageInterface Return the user storage.
File
- src/
TwigExtension/ TwigExtensionBase.php, line 127
Class
- TwigExtensionBase
- Provides a Twig Extension Lazy Service Injection.
Namespace
Drupal\bamboo_twig\TwigExtensionCode
protected function getUserStorage() {
return $this
->getEntityTypeManager()
->getStorage('user');
}