LocalTaskManagerInterface::getTasksBuild

public LocalTaskManagerInterface::getTasksBuild($current_route_name, RefinableCacheableDependencyInterface &$cacheability)

Gets the render array for all local tasks.

Parameters

string $current_route_name: The route for which to make renderable local tasks.

\Drupal\Core\Cache\RefinableCacheableDependencyInterface $cacheability: The cacheability metadata for the local tasks.

Return value

array A render array as expected by menu-local-tasks.html.twig.

File

core/lib/Drupal/Core/Menu/LocalTaskManagerInterface.php, line 53

Class

LocalTaskManagerInterface
Manages discovery and instantiation of menu local task plugins.

Namespace

Drupal\Core\Menu

Code

public function getTasksBuild($current_route_name, RefinableCacheableDependencyInterface &$cacheability);
doc_Drupal
2016-10-29 09:24:52
Comments
Leave a Comment

Please login to continue.