public function Job::getOwnerId

1 call to Job::getOwnerId()
Job::isAuthor in src/Entity/Job.php
Checks whether the user described by $account is the author of this job.

File

src/Entity/Job.php, line 1006

Class

Job
Entity class for the tmgmt_job entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getOwnerId() {
  return $this
    ->get('uid')->target_id;
}