Skip to content

NavItem_Node ​

Type
Class
Namespace
craft\web\twig\nodes
Inherits
craft\web\twig\nodes\NavItem_Node » Twig\Node\Node
Since
3.0.0

Internal node used by the nav node.

View source

Public Methods ​

MethodDescription
__construct()NavItem_Node constructor.
compile()

__construct() ​

NavItem_Node constructor.

View source

Arguments ​

  • $valueTarget (\Twig\Node\Expression\AssignNameExpression)
  • $indent (\Twig\Node\Node, null)
  • $outdent (\Twig\Node\Node, null)
  • $lowerBody (\Twig\Node\Node, null)
  • $lineno (integer)
  • $tag (string, null)

compile() ​

View source

Arguments ​

  • $compiler