public function LPStatus::getUser in Opigno Learning path 8
Same name and namespace in other branches
- 3.x src/Entity/LPStatus.php \Drupal\opigno_learning_path\Entity\LPStatus::getUser()
Gets the user entity.
Return value
\Drupal\user\Entity\User The user entity.
Overrides LPStatusInterface::getUser
File
- src/
Entity/ LPStatus.php, line 98
Class
- LPStatus
- Defines the User Learning Path attempt status entity.
Namespace
Drupal\opigno_learning_path\EntityCode
public function getUser() {
return $this
->get('uid')->entity;
}