MenuTreeParameters::$minDepth

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 menu (excluding the root).

Type: int|null

File

core/lib/Drupal/Core/Menu/MenuTreeParameters.php, line 36

Class

MenuTreeParameters
Provides a value object to model menu tree parameters.

Namespace

Drupal\Core\Menu

Code

public $minDepth = NULL;
doc_Drupal
2016-10-29 09:27:30
Comments
Leave a Comment

Please login to continue.