public property MenuTreeParameters::$minDepth in Zircon Profile 8
Same name and namespace in other branches
- 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\MenuCode
public $minDepth = NULL;