MenuItemMatcherInterface
in
Tags
Table of Contents
Methods
- isExpanded() : bool
- isSelected() : bool
Methods
isExpanded()
public
isExpanded(MenuItemDto $menuItemDto) : bool
Parameters
- $menuItemDto : MenuItemDto
Return values
bool —Returns true when any of the subitems of the menu item is selected
isSelected()
public
isSelected(MenuItemDto $menuItemDto) : bool
Parameters
- $menuItemDto : MenuItemDto
Return values
bool —Returns true when this menu item is the selected one