TwigExtension::__construct

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;
}
doc_Drupal
2016-10-29 09:49:43
Comments
Leave a Comment

Please login to continue.