Skip to content

RenderNode ​

Type
Class
Namespace
craft\web\twig\nodes
Inherits
craft\web\twig\nodes\RenderNode » Twig\Node\IncludeNode
Since
5.12.0

Class RenderNode

Extends \Twig\Node\IncludeNode so Twig treats it like an {% include %} tag, e.g. by keeping the loop variable available when it’s used within {% for %} loops.

View source

Public Methods ​

MethodDescription
compile()
getStringCoercedChildNames()

compile() ​

View source

Arguments ​

  • $compiler

getStringCoercedChildNames() ​

View source