You are here

public function LocalActionManagerInterface::getActionsForRoute in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Menu/LocalActionManagerInterface.php \Drupal\Core\Menu\LocalActionManagerInterface::getActionsForRoute()

Finds all local actions that appear on a named route.

Parameters

string $route_appears: The route name for which to find local actions.

Return value

array An array of link render arrays.

1 method overrides LocalActionManagerInterface::getActionsForRoute()
LocalActionManager::getActionsForRoute in core/lib/Drupal/Core/Menu/LocalActionManager.php
Finds all local actions that appear on a named route.

File

core/lib/Drupal/Core/Menu/LocalActionManagerInterface.php, line 44
Contains \Drupal\Core\Menu\LocalActionManagerInterface.

Class

LocalActionManagerInterface
Manages discovery and instantiation of menu local action plugins.

Namespace

Drupal\Core\Menu

Code

public function getActionsForRoute($route_appears);