function LocalActionInterface::getRouteName

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

Get the route name from the settings.

Return value

string The name of the route this action links to.

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

File

core/lib/Drupal/Core/Menu/LocalActionInterface.php, line 18

Class

LocalActionInterface
Defines an interface for menu local actions.

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.