function TestTasksSettingsSub1::getTitle in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTasksSettingsSub1.php \Drupal\menu_test\Plugin\Menu\LocalTask\TestTasksSettingsSub1::getTitle()
Returns the localized title to be shown for this tab.
Subclasses may add optional arguments like NodeInterface $node = NULL that will be supplied by the ControllerResolver.
Return value
string The title of the local task.
Overrides LocalTaskDefault::getTitle
File
- core/
modules/ system/ tests/ modules/ menu_test/ src/ Plugin/ Menu/ LocalTask/ TestTasksSettingsSub1.php, line 20 - Contains \Drupal\menu_test\Plugin\Menu\LocalTask\TestTasksSettingsSub1.
Class
Namespace
Drupal\menu_test\Plugin\Menu\LocalTaskCode
function getTitle() {
return $this
->t('Dynamic title for @class', array(
'@class' => 'TestTasksSettingsSub1',
));
}