You are here

protected function TwigExtensionBase::getFileSystemObject in Bamboo Twig 8.2

Same name and namespace in other branches
  1. 8.5 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getFileSystemObject()
  2. 8.3 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getFileSystemObject()
  3. 8.4 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getFileSystemObject()

Provides helpers to operate on files and stream wrappers.

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 215

Class

TwigExtensionBase
Provides a Twig Extension Lazy Service Injection.

Namespace

Drupal\bamboo_twig\TwigExtension

Code

protected function getFileSystemObject() {
  return $this->container
    ->get('file_system');
}