Score:0

Get link value from menu link

cn flag

Let's say I have created a new menu node under Structure -> Menu. The name of the menu is "Footer" and for this I created a new "Menu link" called "imprint" which has a link.

Structure->Menu->menu link->link

How do I get the value of this link?

I have already tried the following, but can't get it from here:

$menuLink = \Drupal::entityTypeManager()->getStorage('menu')->load('Footer');
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.