public function MeetingResult::setUser in Opigno Moxtra 8
Same name and namespace in other branches
- 3.x src/Entity/MeetingResult.php \Drupal\opigno_moxtra\Entity\MeetingResult::setUser()
Sets the user entity.
Parameters
\Drupal\user\UserInterface $account: The user entity.
Return value
$this
Overrides MeetingResultInterface::setUser
File
- src/
Entity/ MeetingResult.php, line 86
Class
- MeetingResult
- Defines the Workspace entity.
Namespace
Drupal\opigno_moxtra\EntityCode
public function setUser(UserInterface $account) {
$this
->set('user_id', $account
->id());
return $this;
}