public function Job::isContinuous

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
Job::requestTranslation in src/Entity/Job.php
Request the translation of a job from the translator.

File

src/Entity/Job.php, line 683

Class

Job
Entity class for the tmgmt_job entity.

Namespace

Drupal\tmgmt\Entity

Code

public function isContinuous() {
  return $this
    ->getJobType() == static::TYPE_CONTINUOUS;
}