function ContextualLinkInterface::getTitle
Same name in other branches
- 9 core/lib/Drupal/Core/Menu/ContextualLinkInterface.php \Drupal\Core\Menu\ContextualLinkInterface::getTitle()
- 8.9.x core/lib/Drupal/Core/Menu/ContextualLinkInterface.php \Drupal\Core\Menu\ContextualLinkInterface::getTitle()
- 11.x core/lib/Drupal/Core/Menu/ContextualLinkInterface.php \Drupal\Core\Menu\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()
1 method overrides ContextualLinkInterface::getTitle()
- ContextualLinkDefault::getTitle in core/
lib/ Drupal/ Core/ Menu/ ContextualLinkDefault.php
File
-
core/
lib/ Drupal/ Core/ Menu/ ContextualLinkInterface.php, line 29
Class
- ContextualLinkInterface
- Defines a contextual link plugin.
Namespace
Drupal\Core\MenuCode
public function getTitle();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.