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

Breadcrumb

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

function AbstractNodeVisitor::doLeaveNode

Called after child nodes are visited.

Return value

Node|null The modified node or null if the node must be removed

1 call to AbstractNodeVisitor::doLeaveNode()
AbstractNodeVisitor::leaveNode in vendor/twig/twig/src/NodeVisitor/AbstractNodeVisitor.php
Called after child nodes are visited.

File

vendor/twig/twig/src/NodeVisitor/AbstractNodeVisitor.php, line 48

Class

AbstractNodeVisitor
Used to make node visitors compatible with Twig 1.x and 2.x.

Namespace

Twig\NodeVisitor

Code

protected abstract function doLeaveNode(Node $node, Environment $env);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal