public function MenuLinkInterface::getRouteName

public MenuLinkInterface::getRouteName()

Returns the route name, if available.

Return value

string The name of the route this menu link links to.

File

core/lib/Drupal/Core/Menu/MenuLinkInterface.php, line 111

Class

MenuLinkInterface
Defines an interface for classes providing a type of menu link.

Namespace

Drupal\Core\Menu

Code

public function getRouteName();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!MenuLinkInterface.php/function/MenuLinkInterface::getRouteName/8.1.x