function LocalTaskManagerInterface::getTitle
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Menu/LocalTaskManagerInterface.php \Drupal\Core\Menu\LocalTaskManagerInterface::getTitle()
- 10 core/lib/Drupal/Core/Menu/LocalTaskManagerInterface.php \Drupal\Core\Menu\LocalTaskManagerInterface::getTitle()
- 11.x core/lib/Drupal/Core/Menu/LocalTaskManagerInterface.php \Drupal\Core\Menu\LocalTaskManagerInterface::getTitle()
Gets the title for a local task.
Parameters
\Drupal\Core\Menu\LocalTaskInterface $local_task: A local task plugin instance to get the title for.
Return value
string The localized title.
1 method overrides LocalTaskManagerInterface::getTitle()
- LocalTaskManager::getTitle in core/
lib/ Drupal/ Core/ Menu/ LocalTaskManager.php - Gets the title for a local task.
File
-
core/
lib/ Drupal/ Core/ Menu/ LocalTaskManagerInterface.php, line 26
Class
- LocalTaskManagerInterface
- Manages discovery and instantiation of menu local task plugins.
Namespace
Drupal\Core\MenuCode
public function getTitle(LocalTaskInterface $local_task);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.