You are here

public function Job::setOwnerId in Translation Management Tool 8

Sets the entity owner's user ID.

Parameters

int $uid: The owner user id.

Return value

$this

Overrides EntityOwnerInterface::setOwnerId

1 call to Job::setOwnerId()
Job::requestTranslation in src/Entity/Job.php
Request the translation of a job from the translator.

File

src/Entity/Job.php, line 999

Class

Job
Entity class for the tmgmt_job entity.

Namespace

Drupal\tmgmt\Entity

Code

public function setOwnerId($uid) {
  $this
    ->set('uid', $uid);
  return $this;
}