You are here

public function MenuLinkTreeHandlerInterface::getMenuLinkItemViewMode in Menu Item Extras 8.2

Get Menu Link Item view mdoe.

Parameters

\Drupal\Core\Menu\MenuLinkInterface $link: Original link entity.

Return value

string View mode property.

1 method overrides MenuLinkTreeHandlerInterface::getMenuLinkItemViewMode()
MenuLinkTreeHandler::getMenuLinkItemViewMode in src/Service/MenuLinkTreeHandler.php
Get Menu Link Item view mdoe.

File

src/Service/MenuLinkTreeHandlerInterface.php, line 57

Class

MenuLinkTreeHandlerInterface
Interface MenuLinkTreeHandlerInteface.

Namespace

Drupal\menu_item_extras\Service

Code

public function getMenuLinkItemViewMode(MenuLinkInterface $link);