You are here

public function MenuLinkTreeHandlerInterface::getMenuLinkItemEntity in Menu Item Extras 8.2

Get menu_link_content entity.

Parameters

\Drupal\Core\Menu\MenuLinkInterface $link: Link object.

Return value

\Drupal\menu_link_content\MenuLinkContentInterface|null Menu Link Content entity.

1 method overrides MenuLinkTreeHandlerInterface::getMenuLinkItemEntity()
MenuLinkTreeHandler::getMenuLinkItemEntity in src/Service/MenuLinkTreeHandler.php
Get menu_link_content entity.

File

src/Service/MenuLinkTreeHandlerInterface.php, line 24

Class

MenuLinkTreeHandlerInterface
Interface MenuLinkTreeHandlerInteface.

Namespace

Drupal\menu_item_extras\Service

Code

public function getMenuLinkItemEntity(MenuLinkInterface $link);