W3cubDocs

/Drupal 8

public function ContextualLinkInterface::getTitle

public ContextualLinkInterface::getTitle()

Returns the localized title to be shown for this contextual link.

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\ContextualLinksManager::getTitle()

File

core/lib/Drupal/Core/Menu/ContextualLinkInterface.php, line 29

Class

ContextualLinkInterface
Defines a contextual link plugin.

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