Skip to content

NavTokenParser ​

Type
Class
Namespace
craft\web\twig\tokenparsers
Inherits
craft\web\twig\tokenparsers\NavTokenParser » Twig\TokenParser\AbstractTokenParser
Since
3.0.0

Recursively outputs a hierarchical navigation.

View source

Public Methods ​

MethodDescription
decideChildrenEnd()
decideChildrenFork()
decideNavEnd()
decideNavFork()
getTag()
parse()

decideChildrenEnd() ​

View source

Arguments ​

  • $token (\Twig\Token)

Returns ​

boolean

decideChildrenFork() ​

View source

Arguments ​

  • $token (\Twig\Token)

Returns ​

boolean

decideNavEnd() ​

View source

Arguments ​

  • $token (\Twig\Token)

Returns ​

boolean

decideNavFork() ​

View source

Arguments ​

  • $token (\Twig\Token)

Returns ​

boolean

getTag() ​

View source

parse() ​

View source

Arguments ​

  • $token