protected function TwigExtensionBase::getImageStyleStorage in Bamboo Twig 8.3
Same name and namespace in other branches
- 8.5 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getImageStyleStorage()
- 8.2 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getImageStyleStorage()
- 8.4 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getImageStyleStorage()
Provides an interface defining an image style.
Return value
\Drupal\image\ImageStyleInterface Return interface for image style.
File
- src/
TwigExtension/ TwigExtensionBase.php, line 147
Class
- TwigExtensionBase
- Provides a Twig Extension Lazy Service Injection.
Namespace
Drupal\bamboo_twig\TwigExtensionCode
protected function getImageStyleStorage() {
return $this
->getEntityTypeManager()
->getStorage('image_style');
}