You are here

public function CExtDisablingNodeVisitor::leaveNode in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/test/Twig/Tests/TemplateTest.php \CExtDisablingNodeVisitor::leaveNode()

Called after child nodes are visited.

Parameters

Twig_NodeInterface $node The node to visit:

Twig_Environment $env The Twig environment instance:

Return value

Twig_NodeInterface|false The modified node or false if the node must be removed

Overrides Twig_NodeVisitorInterface::leaveNode

File

vendor/twig/twig/test/Twig/Tests/TemplateTest.php, line 684

Class

CExtDisablingNodeVisitor

Code

public function leaveNode(Twig_NodeInterface $node, Twig_Environment $env) {
  return $node;
}