Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ContextualLinkInterface.php

function 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();
RSS feed
Powered by Drupal