You are here

public function MaestroProcessStatus::setOwnerId in Maestro 8.2

Same name and namespace in other branches
  1. 3.x src/Entity/MaestroProcessStatus.php \Drupal\maestro\Entity\MaestroProcessStatus::setOwnerId()

Sets the entity owner's user ID.

Parameters

int $uid: The owner user id.

Return value

$this

Overrides EntityOwnerInterface::setOwnerId

File

src/Entity/MaestroProcessStatus.php, line 93

Class

MaestroProcessStatus
Defines the MaestroProcessStatus entity.

Namespace

Drupal\maestro\Entity

Code

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