public function LocalTaskInterface::getTitle

public LocalTaskInterface::getTitle()

Returns the localized title to be shown for this tab.

Subclasses may add optional arguments like NodeInterface $node = NULL that will be supplied by the ControllerResolver.

Return value

string The title of the local task.

File

core/lib/Drupal/Core/Menu/LocalTaskInterface.php, line 35

Class

LocalTaskInterface
Defines an interface for menu local tasks.

Namespace

Drupal\Core\Menu

Code

public function getTitle();

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