You are here

public function TwigNodeTheme::__construct in Components! 8

File

src/Template/TwigNodeTheme.php, line 10

Class

TwigNodeTheme
Represents a call to theme() as a Twig node.

Namespace

Drupal\components\Template

Code

public function __construct(\Twig_Node_Expression $theme, \Twig_Node_Expression $variables = NULL, $lineno, $tag = NULL) {
  parent::__construct([
    'theme' => $theme,
    'variables' => $variables,
  ], [], $lineno, $tag);
}