Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Commit

Permalink
Update documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrenssen committed Apr 29, 2019
1 parent 0417fcb commit 999f9ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MembershipManagerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public function getGroups(EntityInterface $entity, $group_type_id = NULL, $group
* Returns the number of groups associated with a given group content entity.
*
* Do not use this to retrieve the group membership count for a user entity.
* Use count(Og::GetEntityGroups()) instead.
* Use count(\Drupal\og\MembershipManager::getUserGroupIds()) instead.
*
* @param \Drupal\Core\Entity\EntityInterface $entity
* The group content entity for which to count the associated groups.
Expand Down

0 comments on commit 999f9ae

Please sign in to comment.