function tmgmt_ui_job_view in Translation Management Tool 7
Simple page callback for viewing a job.
Parameters
TMGMTJob $job: The viewed job.
Return value
array A renderable array.
1 string reference to 'tmgmt_ui_job_view'
- TMGMTJobUIController::hook_menu in ui/
includes/ tmgmt_ui.controller.job.inc - Provides definitions for implementing hook_menu().
File
- ui/
includes/ tmgmt_ui.pages.inc, line 48 - Provides page callbacks and form functions for the Translation Management Tool User Interface module.
Code
function tmgmt_ui_job_view(TMGMTJob $job) {
return entity_view($job
->entityType(), array(
$job,
), 'full', NULL, TRUE);
}