function LocalActionDefault::getRouteName

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

Overrides LocalActionInterface::getRouteName

1 call to LocalActionDefault::getRouteName()
LocalActionDefault::getRouteParameters in core/lib/Drupal/Core/Menu/LocalActionDefault.php
Returns the route parameters needed to render a link for the local action.

File

core/lib/Drupal/Core/Menu/LocalActionDefault.php, line 62

Class

LocalActionDefault
Provides a default implementation for local action plugins.

Namespace

Drupal\Core\Menu

Code

public function getRouteName() {
    return $this->pluginDefinition['route_name'];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.