public function GroupInterface::removeMember in Group 8
Same name and namespace in other branches
- 2.0.x src/Entity/GroupInterface.php \Drupal\group\Entity\GroupInterface::removeMember()
Removes a user as a member from the group.
Does nothing if the user is not a member of the group.
Parameters
\Drupal\user\UserInterface $account: The user entity to remove as a member.
1 method overrides GroupInterface::removeMember()
- Group::removeMember in src/
Entity/ Group.php - Removes a user as a member from the group.
File
- src/
Entity/ GroupInterface.php, line 117
Class
- GroupInterface
- Provides an interface defining a Group entity.
Namespace
Drupal\group\EntityCode
public function removeMember(UserInterface $account);