LocalActionDefault::getRouteName

public LocalActionDefault::getRouteName()

Get the route name from the settings.

Return value

string The name of the route this action links to.

Overrides LocalActionInterface::getRouteName

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'];
}
doc_Drupal
2016-10-29 09:23:39
Comments
Leave a Comment

Please login to continue.