function og_event_info in Organic groups 5.3
Same name and namespace in other branches
- 5.8 og_workflow_ng.inc \og_event_info()
- 5 og_workflow_ng.inc \og_event_info()
- 5.7 og_workflow_ng.inc \og_event_info()
Implementation of hook_event_info().
File
- ./
og_workflow_ng.inc, line 11 - workflow_ng integration for og module.
Code
function og_event_info() {
return array(
'og_user_insert' => array(
'#label' => t('User joins group'),
'#module' => t('OG'),
'#arguments' => og_workflow_ng_events_hook_og_arguments(),
),
'og_user_approved' => array(
'#label' => t('User approved to group by admin'),
'#module' => t('OG'),
'#description' => t('A pending member is approved by a group administrator.'),
'#arguments' => og_workflow_ng_events_hook_og_arguments(),
),
'og_user_delete' => array(
'#label' => t('User leaves group'),
'#module' => t('OG'),
'#arguments' => og_workflow_ng_events_hook_og_arguments(),
),
);
}