protected function TwigExtensionBase::getFileSystemObject in Bamboo Twig 8.5
Same name and namespace in other branches
- 8.2 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getFileSystemObject()
- 8.3 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getFileSystemObject()
- 8.4 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getFileSystemObject()
Provides helpers to operate on files and stream wrappers.
Return value
\Drupal\Core\File\FileSystemInterface Return the File System object.
1 call to TwigExtensionBase::getFileSystemObject()
- Render::renderImageStyle in bamboo_twig_loader/
src/ TwigExtension/ Render.php - Returns the URL of this image derivative for an original image path or URI.
File
- src/
TwigExtension/ TwigExtensionBase.php, line 227
Class
- TwigExtensionBase
- Provides a Twig Extension Lazy Service Injection.
Namespace
Drupal\bamboo_twig\TwigExtensionCode
protected function getFileSystemObject() {
return $this->container
->get('file_system');
}