function ginvite_group_membership_action_info in Group 7
Implements hook_group_membership_action_info().
File
- modules/
ginvite/ ginvite.group.inc, line 70 - Hook implementations for the Group module.
Code
function ginvite_group_membership_action_info() {
$info['ginvite_accept'] = array(
'label' => t('Accept'),
'description' => t('You have been invited to join this group'),
'access callback' => 'ginvite_user_is_invited',
'action callback' => 'ginvite_user_accept',
);
$info['ginvite_decline'] = array(
'label' => t('Decline'),
'description' => t('You have been invited to join this group'),
'access callback' => 'ginvite_user_is_invited',
'action callback' => 'ginvite_user_decline',
);
return $info;
}