You are here

public function LocalTaskInterface::getRouteName in Drupal 9

Same name and namespace in other branches
  1. 8 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()

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();