W3cubDocs

/Drupal 8

public function LocalTaskManagerInterface::getTitle

public LocalTaskManagerInterface::getTitle(LocalTaskInterface $local_task)

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.

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);

© 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!LocalTaskManagerInterface.php/function/LocalTaskManagerInterface::getTitle/8.1.x