The IDs from the currently active menu link to the root of the whole tree. This is an array of menu link plugin IDs, representing the trail
public MenuTreeParameters::setMaxDepth($max_depth)
The conditions used to restrict which links are loaded. An associative array of custom query condition key/value pairs.
public MenuTreeParameters::setMinDepth($min_depth)
public MenuTreeParameters::setRoot($root)
Provides a value object to model menu tree parameters. Menu tree parameters are used to determine the set of definitions to be loaded from
The maximum depth of menu links in the resulting tree relative to the root. Type: int|null File
public MenuTreeParameters::onlyEnabledLinks()
public MenuTreeParameters::excludeRoot()
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
Page 1 of 2