public LocalTaskManagerInterface::getLocalTasks($route_name, $level = 0)
Collects the local tasks (tabs) for the current route.
string $route_name: The route for which to make renderable local tasks.
int $level: The level of tasks you ask for. Primary tasks are 0, secondary are 1.
array An array containing
public function getLocalTasks($route_name, $level = 0);
© 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::getLocalTasks/8.1.x