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

Breadcrumb

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

function ParentExpression::__construct

Overrides Node::__construct

File

vendor/twig/twig/src/Node/Expression/ParentExpression.php, line 24

Class

ParentExpression
Represents a parent node.

Namespace

Twig\Node\Expression

Code

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