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

# 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