public TwigExtension::__construct(RendererInterface $renderer)
Constructs \Drupal\Core\Template\TwigExtension.
Parameters
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
File
- core/lib/Drupal/Core/Template/TwigExtension.php, line 62
Class
- TwigExtension
- A class providing Drupal Twig extensions.
Namespace
Drupal\Core\Template
Code
public function __construct(RendererInterface $renderer) { $this->renderer = $renderer; }
Please login to continue.