public LocalTaskManagerInterface::getLocalTasksForRoute($route_name)
Find all local tasks that appear on a named route.
string $route_name: The route for which to find local tasks.
array Returns an array of task levels. Each task level contains instances of local tasks (LocalTaskInterface) which appear on the tab route. The array keys are the depths and the values are arrays of plugin instances.
public function getLocalTasksForRoute($route_name);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!LocalTaskManagerInterface.php/function/LocalTaskManagerInterface::getLocalTasksForRoute/8.1.x