public LocalActionManager::getTitle(LocalActionInterface $local_action)
Gets the title for a local action.
\Drupal\Core\Menu\LocalActionInterface $local_action: An object to get the title from.
string The title (already localized).
\BadMethodCallException If the plugin does not implement the getTitle() method.
Overrides LocalActionManagerInterface::getTitle
public function getTitle(LocalActionInterface $local_action) { $controller = array($local_action, 'getTitle'); $arguments = $this->controllerResolver->getArguments($this->requestStack->getCurrentRequest(), $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!LocalActionManager.php/function/LocalActionManager::getTitle/8.1.x