public function Workspace::getMembers in Opigno Moxtra 3.x
Same name and namespace in other branches
- 8 src/Entity/Workspace.php \Drupal\opigno_moxtra\Entity\Workspace::getMembers()
Returns members of the workspace.
Return value
\Drupal\user\Entity\User[] Array of users.
Overrides WorkspaceInterface::getMembers
File
- src/
Entity/ Workspace.php, line 175
Class
- Workspace
- Defines the Workspace entity.
Namespace
Drupal\opigno_moxtra\EntityCode
public function getMembers() {
$ids = $this
->getMembersIds();
return User::loadMultiple($ids);
}