You are here

protected function TwigExtensionBase::getStreamWrapperManager in Bamboo Twig 8.5

Provides a StreamWrapper manager.

Return value

\Drupal\Core\StreamWrapper\StreamWrapperManagerInterface The stream wrapper manager service.

1 call to TwigExtensionBase::getStreamWrapperManager()
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 237

Class

TwigExtensionBase
Provides a Twig Extension Lazy Service Injection.

Namespace

Drupal\bamboo_twig\TwigExtension

Code

protected function getStreamWrapperManager() {
  return $this->container
    ->get('stream_wrapper_manager');
}