W3cubDocs

/Drupal 8

public function ContextualLinkInterface::getRouteName

public ContextualLinkInterface::getRouteName()

Returns the route name of the contextual link.

Return value

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

File

core/lib/Drupal/Core/Menu/ContextualLinkInterface.php, line 37

Class

ContextualLinkInterface
Defines a contextual link plugin.

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!ContextualLinkInterface.php/function/ContextualLinkInterface::getRouteName/8.1.x