You are here

public function JobSchedule::getData in Job Scheduler 8.3

Returns the job data.

Return value

mixed The job data.

File

src/Entity/JobSchedule.php, line 168

Class

JobSchedule
Defines the job schedule entity.

Namespace

Drupal\job_scheduler\Entity

Code

public function getData() {
  $data = $this
    ->get('data')
    ->getValue();
  return reset($data);
}