LocalTaskDefault::getRouteName

public LocalTaskDefault::getRouteName()

Get the route name from the settings.

Return value

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

Overrides LocalTaskInterface::getRouteName

File

core/lib/Drupal/Core/Menu/LocalTaskDefault.php, line 36

Class

LocalTaskDefault
Default object used for LocalTaskPlugins.

Namespace

Drupal\Core\Menu

Code

public function getRouteName() {
  return $this->pluginDefinition['route_name'];
}
doc_Drupal
2016-10-29 09:24:45
Comments
Leave a Comment

Please login to continue.