public function MembershipManagerInterface::getGroupContentIds in Organic groups 8
Returns all the group content IDs associated with a given group entity.
This does not return information about users that are members of the given group.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The group entity for which to return group content IDs.
array $entity_types: Optional list of group content entity types for which to return results. If an empty array is passed, the group content is not filtered. Defaults to an empty array.
Return value
array An associative array, keyed by group content entity type, each item an array of group content entity IDs.
1 method overrides MembershipManagerInterface::getGroupContentIds()
- MembershipManager::getGroupContentIds in src/
MembershipManager.php - Returns all the group content IDs associated with a given group entity.
File
- src/
MembershipManagerInterface.php, line 270
Class
- MembershipManagerInterface
- Membership manager interface.
Namespace
Drupal\ogCode
public function getGroupContentIds(EntityInterface $entity, array $entity_types = []);