public function LocalActionManagerInterface::getActionsForRoute in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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\MenuCode
public function getActionsForRoute($route_appears);