public function LocalActionInterface::getTitle in Drupal 8
Same name and namespace in other branches
- 9 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 - Returns the localized title to be shown for this action.
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();