MenuLinkDepthConstraint::$baseLevel

The initial level of menu items that are being exposed (zero-based).

Type: string|int

File

core/lib/Drupal/Core/Menu/Plugin/Validation/Constraint/MenuLinkDepthConstraint.php, line 26

Class

MenuLinkDepthConstraint
Validates the link depth of a menu tree.

Namespace

Drupal\Core\Menu\Plugin\Validation\Constraint

Code

public string|int $baseLevel = 0;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.