function ContextualLinkInterface::getRouteName

Same name in other branches
  1. 9 core/lib/Drupal/Core/Menu/ContextualLinkInterface.php \Drupal\Core\Menu\ContextualLinkInterface::getRouteName()
  2. 8.9.x core/lib/Drupal/Core/Menu/ContextualLinkInterface.php \Drupal\Core\Menu\ContextualLinkInterface::getRouteName()
  3. 10 core/lib/Drupal/Core/Menu/ContextualLinkInterface.php \Drupal\Core\Menu\ContextualLinkInterface::getRouteName()

Returns the route name of the contextual link.

Return value

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

1 method overrides ContextualLinkInterface::getRouteName()
ContextualLinkDefault::getRouteName in core/lib/Drupal/Core/Menu/ContextualLinkDefault.php
Returns the route name of the contextual link.

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();

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