public function ILTResult::getUser in Opigno Instructor-led Trainings 8
Same name and namespace in other branches
- 3.x src/Entity/ILTResult.php \Drupal\opigno_ilt\Entity\ILTResult::getUser()
Returns the user entity.
Return value
\Drupal\user\UserInterface The user entity.
Overrides ILTResultInterface::getUser
File
- src/
Entity/ ILTResult.php, line 79
Class
- ILTResult
- Defines the ILT Result entity.
Namespace
Drupal\opigno_ilt\EntityCode
public function getUser() {
return $this
->get('user_id')->entity;
}