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