public function 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\MenuCode
public function getRouteName() { return $this->pluginDefinition['route_name']; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!LocalTaskDefault.php/function/LocalTaskDefault::getRouteName/8.1.x