function LocalActionManagerInterface::getActionsForRoute

Same name in other branches
  1. 9 core/lib/Drupal/Core/Menu/LocalActionManagerInterface.php \Drupal\Core\Menu\LocalActionManagerInterface::getActionsForRoute()
  2. 10 core/lib/Drupal/Core/Menu/LocalActionManagerInterface.php \Drupal\Core\Menu\LocalActionManagerInterface::getActionsForRoute()
  3. 11.x 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 40

Class

LocalActionManagerInterface
Manages discovery and instantiation of menu local action plugins.

Namespace

Drupal\Core\Menu

Code

public function getActionsForRoute($route_appears);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.