public function UserModuleStatus::setOwnerId in Opigno module 3.x
Same name and namespace in other branches
- 8 src/Entity/UserModuleStatus.php \Drupal\opigno_module\Entity\UserModuleStatus::setOwnerId()
Sets the entity owner's user ID.
Parameters
int $uid: The owner user id.
Return value
$this
Overrides EntityOwnerInterface::setOwnerId
File
- src/
Entity/ UserModuleStatus.php, line 115
Class
- UserModuleStatus
- Defines the User module status entity.
Namespace
Drupal\opigno_module\EntityCode
public function setOwnerId($uid) {
$this
->set('user_id', $uid);
return $this;
}