Retrieves all siblings of this job item.
array An array of job items that are the siblings of this job item.
Overrides JobItemInterface::getSiblings
public function getSiblings() {
$ids = \Drupal::entityQuery('tmgmt_job_item')
->accessCheck(TRUE)
->condition('tjiid', $this
->id(), '<>')
->condition('tjid', $this
->getJobId())
->execute();
if ($ids) {
return static::loadMultiple($ids);
}
return FALSE;
}