Gets the values of the options.
array Returns options.
public function getValueOptions() {
$this->valueOptions = [
'open_job_items' => t('- Open jobs items -'),
];
$state_definitions = JobItem::getStateDefinitions();
foreach ($state_definitions as $state => $state_definition) {
$this->valueOptions[$state] = $state_definition['label'];
}
return $this->valueOptions;
}