public function GroupInterface::getMember in Group 8
Same name and namespace in other branches
- 2.0.x src/Entity/GroupInterface.php \Drupal\group\Entity\GroupInterface::getMember()
Retrieves a user's membership for the group.
Parameters
\Drupal\Core\Session\AccountInterface $account: The user to load the membership for.
Return value
\Drupal\group\GroupMembership|false The loaded GroupMembership or FALSE if none was found.
1 method overrides GroupInterface::getMember()
- Group::getMember in src/
Entity/ Group.php - Retrieves a user's membership for the group.
File
- src/
Entity/ GroupInterface.php, line 128
Class
- GroupInterface
- Provides an interface defining a Group entity.
Namespace
Drupal\group\EntityCode
public function getMember(AccountInterface $account);