public function MenuLinkTreeHandlerInterface::isMenuLinkDisplayedChildren in Menu Item Extras 8.2
Checks if Menu Link Children is enabled to display.
Parameters
\Drupal\Core\Menu\MenuLinkInterface $link: Original link entity.
Return value
bool Returns TRUE is Menu Link Children is enabled in display.
1 method overrides MenuLinkTreeHandlerInterface::isMenuLinkDisplayedChildren()
- MenuLinkTreeHandler::isMenuLinkDisplayedChildren in src/
Service/ MenuLinkTreeHandler.php - Checks if Menu Link Children is enabled to display.
File
- src/
Service/ MenuLinkTreeHandlerInterface.php, line 68
Class
- MenuLinkTreeHandlerInterface
- Interface MenuLinkTreeHandlerInteface.
Namespace
Drupal\menu_item_extras\ServiceCode
public function isMenuLinkDisplayedChildren(MenuLinkInterface $link);