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

Breadcrumb

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

function CaptureNode::__construct

Overrides Node::__construct

File

vendor/twig/twig/src/Node/CaptureNode.php, line 25

Class

CaptureNode
Represents a node for which we need to capture the output.

Namespace

Twig\Node

Code

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