function LocalActionInterface::getTitle
Same name in other branches
- 9 core/lib/Drupal/Core/Menu/LocalActionInterface.php \Drupal\Core\Menu\LocalActionInterface::getTitle()
- 8.9.x core/lib/Drupal/Core/Menu/LocalActionInterface.php \Drupal\Core\Menu\LocalActionInterface::getTitle()
- 10 core/lib/Drupal/Core/Menu/LocalActionInterface.php \Drupal\Core\Menu\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()
1 method overrides LocalActionInterface::getTitle()
- LocalActionDefault::getTitle in core/
lib/ Drupal/ Core/ Menu/ LocalActionDefault.php
File
-
core/
lib/ Drupal/ Core/ Menu/ LocalActionInterface.php, line 60
Class
- LocalActionInterface
- Defines an interface for menu local actions.
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.