7 calls to Og::isMember() in Organic groups 8
- GetUserGroupsTest::testIsMemberStates in tests/
src/ Kernel/ Entity/ GetUserGroupsTest.php - Tests member methods for states that other groups users are added to.
- GetUserGroupsTest::testOtherGroups in tests/
src/ Kernel/ Entity/ GetUserGroupsTest.php - Tests other groups users are added to.
- GetUserGroupsTest::testOwnerGroupsOnly in tests/
src/ Kernel/ Entity/ GetUserGroupsTest.php - Tests group owners have the correct groups.
- GroupSubscribeFormatter::viewElements in src/
Plugin/ Field/ FieldFormatter/ GroupSubscribeFormatter.php - Builds a renderable array for a field value.
- Og::isMemberBlocked in src/
Og.php - Returns whether an entity belongs to a group with a blocked status.
- Og::isMemberPending in src/
Og.php - Returns whether a user belongs to a group with a pending status.
- SubscriptionController::subscribe in src/
Controller/ SubscriptionController.php - Subscribe a user to group.