public function ILTResult::setUserId in Opigno Instructor-led Trainings 8
Same name and namespace in other branches
- 3.x src/Entity/ILTResult.php \Drupal\opigno_ilt\Entity\ILTResult::setUserId()
Sets the user ID.
Parameters
int $uid: The user id.
Return value
$this
Overrides ILTResultInterface::setUserId
File
- src/
Entity/ ILTResult.php, line 101
Class
- ILTResult
- Defines the ILT Result entity.
Namespace
Drupal\opigno_ilt\EntityCode
public function setUserId($uid) {
$this
->set('user_id', $uid);
return $this;
}