function MenuLinkDepthConstraintValidator::__construct
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Menu/Plugin/Validation/Constraint/MenuLinkDepthConstraintValidator.php \Drupal\Core\Menu\Plugin\Validation\Constraint\MenuLinkDepthConstraintValidator::__construct()
File
-
core/
lib/ Drupal/ Core/ Menu/ Plugin/ Validation/ Constraint/ MenuLinkDepthConstraintValidator.php, line 20
Class
- MenuLinkDepthConstraintValidator
- Validates the MenuLinkDepthConstraint constraint.
Namespace
Drupal\Core\Menu\Plugin\Validation\ConstraintCode
public function __construct(protected readonly MenuLinkTreeInterface $menuLinkTree) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.