function LocalActionManager::getTitle
Same name in other branches
- 9 core/lib/Drupal/Core/Menu/LocalActionManager.php \Drupal\Core\Menu\LocalActionManager::getTitle()
- 8.9.x core/lib/Drupal/Core/Menu/LocalActionManager.php \Drupal\Core\Menu\LocalActionManager::getTitle()
- 11.x core/lib/Drupal/Core/Menu/LocalActionManager.php \Drupal\Core\Menu\LocalActionManager::getTitle()
1 call to LocalActionManager::getTitle()
- LocalActionManager::getActionsForRoute in core/
lib/ Drupal/ Core/ Menu/ LocalActionManager.php
File
-
core/
lib/ Drupal/ Core/ Menu/ LocalActionManager.php, line 159
Class
- LocalActionManager
- Provides the default local action manager using YML as primary definition.
Namespace
Drupal\Core\MenuCode
public function getTitle(LocalActionInterface $local_action) {
$controller = [
$local_action,
'getTitle',
];
$arguments = $this->argumentResolver
->getArguments($this->requestStack
->getCurrentRequest(), $controller);
return call_user_func_array($controller, $arguments);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.