function tmgmt_local_task_item_statuses in Translation Management Tool 7
Retrieve a labeled list of all available statuses for task items.
Return value
array A list of all available statuses.
1 string reference to 'tmgmt_local_task_item_statuses'
- TMGMTLocalTaskItemMetadataController::entityPropertyInfo in translators/
tmgmt_local/ includes/ tmgmt_local.info.inc
File
- translators/
tmgmt_local/ tmgmt_local.module, line 536 - Main module file for the local translation module.
Code
function tmgmt_local_task_item_statuses() {
return $statuses = array(
TMGMT_LOCAL_TASK_ITEM_STATUS_PENDING => t('Untranslated'),
TMGMT_LOCAL_TASK_ITEM_STATUS_COMPLETED => t('Translated'),
TMGMT_LOCAL_TASK_ITEM_STATUS_REJECTED => t('Rejected'),
TMGMT_LOCAL_TASK_ITEM_STATUS_CLOSED => t('Completed'),
);
}