You are here

public function WorkableItem::setOwnerId in Drupal PM (Project Management) 4.x

Sets the entity owner's user ID.

Parameters

int $uid: The owner user id.

Return value

$this

Overrides WorkableItemInterface::setOwnerId

File

modules/pm_project/src/Entity/WorkableItem.php, line 187

Class

WorkableItem
Provides Workable Item.

Namespace

Drupal\pm_project\Entity

Code

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