function LocalTaskInterface::getRouteName

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

Get the route name from the settings.

Return value

string The name of the route this local task links to.

1 method overrides LocalTaskInterface::getRouteName()
LocalTaskDefault::getRouteName in core/lib/Drupal/Core/Menu/LocalTaskDefault.php
Get the route name from the settings.

File

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

Class

LocalTaskInterface
Defines an interface for menu local tasks.

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.