public function ContextualLinkDefault::getRouteName in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Menu/ContextualLinkDefault.php \Drupal\Core\Menu\ContextualLinkDefault::getRouteName()
Returns the route name of the contextual link.
Return value
string The name of the route this contextual link links to.
Overrides ContextualLinkInterface::getRouteName
File
- core/
lib/ Drupal/ Core/ Menu/ ContextualLinkDefault.php, line 29 - Contains \Drupal\Core\Menu\ContextualLinkDefault.
Class
- ContextualLinkDefault
- Provides a common base implementation of a contextual link.
Namespace
Drupal\Core\MenuCode
public function getRouteName() {
return $this->pluginDefinition['route_name'];
}