JobConfigLocalTask.php in Lingotek Translation 3.2.x
Same filename and directory in other branches
- 8.2 src/Plugin/Menu/JobConfigLocalTask.php
- 4.0.x src/Plugin/Menu/JobConfigLocalTask.php
- 3.0.x src/Plugin/Menu/JobConfigLocalTask.php
- 3.1.x src/Plugin/Menu/JobConfigLocalTask.php
- 3.3.x src/Plugin/Menu/JobConfigLocalTask.php
- 3.4.x src/Plugin/Menu/JobConfigLocalTask.php
- 3.5.x src/Plugin/Menu/JobConfigLocalTask.php
- 3.6.x src/Plugin/Menu/JobConfigLocalTask.php
- 3.7.x src/Plugin/Menu/JobConfigLocalTask.php
- 3.8.x src/Plugin/Menu/JobConfigLocalTask.php
Namespace
Drupal\lingotek\Plugin\MenuFile
src/Plugin/Menu/JobConfigLocalTask.phpView source
<?php
namespace Drupal\lingotek\Plugin\Menu;
use Drupal\Core\Menu\LocalTaskDefault;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Symfony\Component\HttpFoundation\Request;
class JobConfigLocalTask extends LocalTaskDefault {
use StringTranslationTrait;
public function getRouteName() {
return 'lingotek.translation_job_info.config';
}
public function getTitle(Request $request = NULL) {
$job_id = $request
->get('job_id');
return $this
->t('Job @job_id Config', [
'@job_id' => $job_id,
]);
}
}
Classes
Name | Description |
---|---|
JobConfigLocalTask |