public function MaestroProcessStatus::setOwnerId in Maestro 8.2
Same name and namespace in other branches
- 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\EntityCode
public function setOwnerId($uid) {
$this
->set('user_id', $uid);
return $this;
}