public function WorkableItemInterface::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 EntityOwnerInterface::setOwnerId
1 method overrides WorkableItemInterface::setOwnerId()
- WorkableItem::setOwnerId in modules/
pm_project/ src/ Entity/ WorkableItem.php - Sets the entity owner's user ID.
File
- modules/
pm_project/ src/ Entity/ WorkableItemInterface.php, line 58
Class
- WorkableItemInterface
- Interface for Workable Item.
Namespace
Drupal\pm_project\EntityCode
public function setOwnerId($uid);