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