public function Meeting::getOwner in Opigno Moxtra 8
Same name and namespace in other branches
- 3.x src/Entity/Meeting.php \Drupal\opigno_moxtra\Entity\Meeting::getOwner()
Returns the entity owner's user entity.
Return value
\Drupal\user\UserInterface The owner user entity.
Overrides EntityOwnerInterface::getOwner
File
- src/
Entity/ Meeting.php, line 68
Class
- Meeting
- Defines the Workspace entity.
Namespace
Drupal\opigno_moxtra\EntityCode
public function getOwner() {
return $this
->get('user_id')->entity;
}