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;
Please login to continue.