function ContextualLinkDefault::getRouteName

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

Overrides ContextualLinkInterface::getRouteName

File

core/lib/Drupal/Core/Menu/ContextualLinkDefault.php, line 24

Class

ContextualLinkDefault
Provides a common base implementation of a contextual link.

Namespace

Drupal\Core\Menu

Code

public function getRouteName() {
    return $this->pluginDefinition['route_name'];
}

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