You are here

public function MaestroProcess::setOwnerId in Maestro 3.x

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

Sets the entity owner's user ID.

Parameters

int $uid: The owner user id.

Return value

$this

Overrides EntityOwnerInterface::setOwnerId

File

src/Entity/MaestroProcess.php, line 97

Class

MaestroProcess
Defines the MaestroProcess entity.

Namespace

Drupal\maestro\Entity

Code

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