You are here

public property MenuTreeParameters::$minDepth in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Menu/MenuTreeParameters.php \Drupal\Core\Menu\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 41
Contains \Drupal\Core\Menu\MenuTreeParameters.

Class

MenuTreeParameters
Provides a value object to model menu tree parameters.

Namespace

Drupal\Core\Menu

Code

public $minDepth = NULL;