public function JobContentLocalTask::getTitle in Lingotek Translation 3.0.x
Same name and namespace in other branches
- 8.2 src/Plugin/Menu/JobContentLocalTask.php \Drupal\lingotek\Plugin\Menu\JobContentLocalTask::getTitle()
- 4.0.x src/Plugin/Menu/JobContentLocalTask.php \Drupal\lingotek\Plugin\Menu\JobContentLocalTask::getTitle()
- 3.1.x src/Plugin/Menu/JobContentLocalTask.php \Drupal\lingotek\Plugin\Menu\JobContentLocalTask::getTitle()
- 3.2.x src/Plugin/Menu/JobContentLocalTask.php \Drupal\lingotek\Plugin\Menu\JobContentLocalTask::getTitle()
- 3.3.x src/Plugin/Menu/JobContentLocalTask.php \Drupal\lingotek\Plugin\Menu\JobContentLocalTask::getTitle()
- 3.4.x src/Plugin/Menu/JobContentLocalTask.php \Drupal\lingotek\Plugin\Menu\JobContentLocalTask::getTitle()
- 3.5.x src/Plugin/Menu/JobContentLocalTask.php \Drupal\lingotek\Plugin\Menu\JobContentLocalTask::getTitle()
- 3.6.x src/Plugin/Menu/JobContentLocalTask.php \Drupal\lingotek\Plugin\Menu\JobContentLocalTask::getTitle()
- 3.7.x src/Plugin/Menu/JobContentLocalTask.php \Drupal\lingotek\Plugin\Menu\JobContentLocalTask::getTitle()
- 3.8.x src/Plugin/Menu/JobContentLocalTask.php \Drupal\lingotek\Plugin\Menu\JobContentLocalTask::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
- src/
Plugin/ Menu/ JobContentLocalTask.php, line 17
Class
Namespace
Drupal\lingotek\Plugin\MenuCode
public function getTitle(Request $request = NULL) {
$job_id = $request
->get('job_id');
return $this
->t('Job @job_id Content', [
'@job_id' => $job_id,
]);
}