ContextualLinkDefault::getRouteName

public 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 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'];
}
doc_Drupal
2016-10-29 08:58:45
Comments
Leave a Comment

Please login to continue.