function MenuLinkContentInterface::getUrlObject
Same name in other branches
- 8.9.x core/modules/menu_link_content/src/MenuLinkContentInterface.php \Drupal\menu_link_content\MenuLinkContentInterface::getUrlObject()
- 10 core/modules/menu_link_content/src/MenuLinkContentInterface.php \Drupal\menu_link_content\MenuLinkContentInterface::getUrlObject()
- 11.x core/modules/menu_link_content/src/MenuLinkContentInterface.php \Drupal\menu_link_content\MenuLinkContentInterface::getUrlObject()
Gets the url object pointing to the URL of the menu link content entity.
Return value
\Drupal\Core\Url A Url object instance.
1 method overrides MenuLinkContentInterface::getUrlObject()
- MenuLinkContent::getUrlObject in core/
modules/ menu_link_content/ src/ Entity/ MenuLinkContent.php - Gets the url object pointing to the URL of the menu link content entity.
File
-
core/
modules/ menu_link_content/ src/ MenuLinkContentInterface.php, line 34
Class
- MenuLinkContentInterface
- Defines an interface for custom menu links.
Namespace
Drupal\menu_link_contentCode
public function getUrlObject();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.