public function TMGMTJobItem::getSourceType in Translation Management Tool 7
Returns the user readable type of job item.
Parameters
string: A type that describes the job item.
File
- entity/
tmgmt.entity.job_item.inc, line 240
Class
- TMGMTJobItem
- Entity class for the tmgmt_job entity.
Code
public function getSourceType() {
if ($controller = $this
->getSourceController()) {
return $controller
->getType($this);
}
return ucfirst($this->item_type);
}