function EnterProfileNode::__construct

Same name in this branch
  1. 11.x core/modules/sdc/tests/modules/sdc_other_node_visitor/src/Twig/Profiler/EnterProfileNode.php \Drupal\sdc_other_node_visitor\Twig\Profiler\EnterProfileNode::__construct()
Same name in other branches
  1. 10 core/modules/sdc/tests/modules/sdc_other_node_visitor/src/Twig/Profiler/EnterProfileNode.php \Drupal\sdc_other_node_visitor\Twig\Profiler\EnterProfileNode::__construct()
  2. 10 core/modules/system/tests/modules/sdc_other_node_visitor/src/Twig/Profiler/EnterProfileNode.php \Drupal\sdc_other_node_visitor\Twig\Profiler\EnterProfileNode::__construct()

File

core/modules/system/tests/modules/sdc_other_node_visitor/src/Twig/Profiler/EnterProfileNode.php, line 17

Class

EnterProfileNode
Represents a profile enter node.

Namespace

Drupal\sdc_other_node_visitor\Twig\Profiler

Code

public function __construct(string $extensionName, string $varName) {
    parent::__construct([], [
        'extension_name' => $extensionName,
        'var_name' => $varName,
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.