function tmgmt_local_task_create in Translation Management Tool 7
Creates a translation task entity.
Parameters
$values: (Optional) An array of additional entity values.
Return value
TMGMTLocalTask The local translation task entity.
2 calls to tmgmt_local_task_create()
- TMGMTLocalTestCase::testTranslatorSkillsForTasks in translators/
tmgmt_local/ tmgmt_local.test - TMGMTLocalTranslatorPluginController::requestTranslation in translators/
tmgmt_local/ includes/ tmgmt_local.plugin.inc - @abstract
File
- translators/
tmgmt_local/ tmgmt_local.module, line 369 - Main module file for the local translation module.
Code
function tmgmt_local_task_create(array $values = array()) {
return entity_create('tmgmt_local_task', $values);
}