Sometimes, we need to test something related to group membership requests.
Create createGroupMembershipRequests
step to test group membership requests.
Required fields of group relationship entity type:
1) gid (group id of group where requested membership)
2) entity_id (ID of the user who requested membership into the group)
3) grequest_status - status of request: 0 - pending request, 1 - accepted request, 2 - rejected request.
Not required fields:
1) field_grequest_message - message of request
Needs review
13.0
Code (back-end)