public function Job::getJobType

Returns the job type.

Return value

string The job type.

Overrides JobInterface::getJobType

1 call to Job::getJobType()
Job::isContinuous in src/Entity/Job.php
Checks whether a job type is continuous.

File

src/Entity/Job.php, line 236

Class

Job
Entity class for the tmgmt_job entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getJobType() {
  return $this
    ->get('job_type')->value;
}