You are here

public function MenuLinkTreeHandlerInterface::getMenuLinkContentViewMode in Menu Item Extras 8.2

Get menu_link_content view mode.

Parameters

\Drupal\menu_link_content\MenuLinkContentInterface $entity: Link object.

Return value

string View mode machine name.

1 method overrides MenuLinkTreeHandlerInterface::getMenuLinkContentViewMode()
MenuLinkTreeHandler::getMenuLinkContentViewMode in src/Service/MenuLinkTreeHandler.php
Get menu_link_content view mode.

File

src/Service/MenuLinkTreeHandlerInterface.php, line 35

Class

MenuLinkTreeHandlerInterface
Interface MenuLinkTreeHandlerInteface.

Namespace

Drupal\menu_item_extras\Service

Code

public function getMenuLinkContentViewMode(MenuLinkContentInterface $entity);