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