W3cubDocs

/Drupal 8

public function LocalActionInterface::getTitle

public LocalActionInterface::getTitle()

Returns the localized title to be shown for this action.

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

Return value

string The title to be shown for this action.

See also

\Drupal\Core\Menu\LocalActionManager::getTitle()

File

core/lib/Drupal/Core/Menu/LocalActionInterface.php, line 60

Class

LocalActionInterface
Defines an interface for menu local actions.

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