Search for getUrlObject

  1. Search 7.x for getUrlObject
  2. Search 9.5.x for getUrlObject
  3. Search 8.9.x for getUrlObject
  4. Search 10.3.x for getUrlObject
  5. Other projects
Title Object type File name Summary
MenuLinkBase::getUrlObject function core/lib/Drupal/Core/Menu/MenuLinkBase.php Returns a URL object containing either the external path or route.
MenuLinkContent::getUrlObject function core/modules/menu_link_content/src/Entity/MenuLinkContent.php
MenuLinkContentInterface::getUrlObject function core/modules/menu_link_content/src/MenuLinkContentInterface.php Gets the URL object pointing to the URL of the menu link content entity.
MenuLinkInterface::getUrlObject function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns a URL object containing either the external path or route.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.