You are here

constant TMGMT_JOB_STATE_REJECTED in Translation Management Tool 7

A translation job that has been rejected by the translator.

The translator plugin can use this state if the job has been actively rejected. However, this should be avoided by doing the necessary checks in the canTranslate() method and in the job configuration settings.

A rejected job can be re-submitted.

Related topics

2 uses of TMGMT_JOB_STATE_REJECTED
TMGMTJob::isRejected in entity/tmgmt.entity.job.inc
Returns whether the state of this job is 'rejected'.
TMGMTJob::rejected in entity/tmgmt.entity.job.inc
Sets the state of the job to 'rejected'.

File

./tmgmt.module, line 38
Main module file for the Translation Management module.

Code

define('TMGMT_JOB_STATE_REJECTED', 2);