function RemoveCheckToStringNodeVisitor::leaveNode
Same name in other branches
- 11.x core/lib/Drupal/Core/Template/RemoveCheckToStringNodeVisitor.php \Drupal\Core\Template\RemoveCheckToStringNodeVisitor::leaveNode()
File
-
core/
lib/ Drupal/ Core/ Template/ RemoveCheckToStringNodeVisitor.php, line 44
Class
- RemoveCheckToStringNodeVisitor
- Defines a TwigNodeVisitor that replaces CheckToStringNodes.
Namespace
Drupal\Core\TemplateCode
public function leaveNode(Node $node, Environment $env) : ?Node {
return $node;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.