Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AutoEscapeNode.php

function AutoEscapeNode::__construct

Overrides Node::__construct

File

vendor/twig/twig/src/Node/AutoEscapeNode.php, line 31

Class

AutoEscapeNode
Represents an autoescape node.

Namespace

Twig\Node

Code

public function __construct($value, Node $body, int $lineno) {
    parent::__construct([
        'body' => $body,
    ], [
        'value' => $value,
    ], $lineno);
}
RSS feed
Powered by Drupal