function LocalTaskManagerInterface::getTitle

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

Code

public function getTitle(LocalTaskInterface $local_task);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.