public function MenuLinkTreeHandlerInterface::getMenuLinkItemContent in Menu Item Extras 8.2
Get Menu Link Content entity content.
Parameters
\Drupal\menu_link_content\MenuLinkContentInterface $link: Original link entity.
Return value
array Renderable menu item content.
1 method overrides MenuLinkTreeHandlerInterface::getMenuLinkItemContent()
- MenuLinkTreeHandler::getMenuLinkItemContent in src/
Service/ MenuLinkTreeHandler.php - Get Menu Link Content entity content.
File
- src/
Service/ MenuLinkTreeHandlerInterface.php, line 46
Class
- MenuLinkTreeHandlerInterface
- Interface MenuLinkTreeHandlerInteface.
Namespace
Drupal\menu_item_extras\ServiceCode
public function getMenuLinkItemContent(MenuLinkContentInterface $link);