public MenuTreeParameters::addExpandedParents(array $parents)
A menu link plugin ID that should be used as the root. By default the root ID of empty string '' is used. However, when only the descendants
public MenuTreeParameters::addCondition($definition_field, $value
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
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::setTopLevelOnly()
Page 2 of 2