protected function TwigExtensionBase::getImageFactory in Bamboo Twig 8.3
Same name and namespace in other branches
- 8.5 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getImageFactory()
- 8.2 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getImageFactory()
- 8.4 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getImageFactory()
Return the factory for image objects.
Return value
\Drupal\Core\Image\ImageFactory Return the factory for image objects.
File
- src/
TwigExtension/ TwigExtensionBase.php, line 157
Class
- TwigExtensionBase
- Provides a Twig Extension Lazy Service Injection.
Namespace
Drupal\bamboo_twig\TwigExtensionCode
protected function getImageFactory() {
return $this->container
->get('image.factory');
}