You are here

public function LocalTaskManagerInterface::getTitle in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Menu/LocalTaskManagerInterface.php \Drupal\Core\Menu\LocalTaskManagerInterface::getTitle()
  2. 9 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\Menu

Code

public function getTitle(LocalTaskInterface $local_task);