public function Job::isContinuous in Translation Management Tool 8
Checks whether a job type is continuous.
Return value
bool TRUE if the job is continuous, FALSE otherwise.
Overrides JobInterface::isContinuous
4 calls to Job::isContinuous()
- Job::isAbortable in src/
Entity/ Job.php - Checks whether a job is abortable.
- Job::isSubmittable in src/
Entity/ Job.php - Checks whether a job is submittable.
- Job::preSave in src/
Entity/ Job.php - Acts on an entity before the presave hook is invoked.
- Job::requestTranslation in src/
Entity/ Job.php - Request the translation of a job from the translator.
File
- src/
Entity/ Job.php, line 677
Class
- Job
- Entity class for the tmgmt_job entity.
Namespace
Drupal\tmgmt\EntityCode
public function isContinuous() {
return $this
->getJobType() == static::TYPE_CONTINUOUS;
}