You are here

public function LocalTaskInterface::getRouteName in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Menu/LocalTaskInterface.php \Drupal\Core\Menu\LocalTaskInterface::getRouteName()
  2. 9 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.

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