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