function LocalActionDefault::getRouteName
Get the route name from the settings.
Return value
string The name of the route this action links to.
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\MenuCode
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.