public MenuTreeParameters::setActiveTrail(array $active_trail)
public MenuTreeParameters::addExpandedParents(array $parents)
The minimum depth of menu links in the resulting tree relative to the root. Defaults to 1, which is the default to build a whole tree for a
public MenuTreeParameters::setTopLevelOnly()
An array of parent link IDs. This restricts the tree to only menu links that are at the top level or have a parent ID in this list. If empty
public MenuTreeParameters::addCondition($definition_field, $value
Page 2 of 2