public LocalTaskManager::getTitle(LocalTaskInterface $local_task)
Gets the title for a local task.
\Drupal\Core\Menu\LocalTaskInterface $local_task: A local task plugin instance to get the title for.
string The localized title.
Overrides LocalTaskManagerInterface::getTitle
public function getTitle(LocalTaskInterface $local_task) { $controller = array($local_task, 'getTitle'); $request = $this->requestStack->getCurrentRequest(); $arguments = $this->controllerResolver->getArguments($request, $controller); return call_user_func_array($controller, $arguments); }
© 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!LocalTaskManager.php/function/LocalTaskManager::getTitle/8.1.x