function _og_role_watchdog_notification_vars in Role Watchdog 6
Same name and namespace in other branches
- 6.2 modules/og_role_watchdog/og_role_watchdog.module \_og_role_watchdog_notification_vars()
3 calls to _og_role_watchdog_notification_vars()
- _og_role_watchdog_approve_role in modules/
og_role_watchdog/ og_role_watchdog.module - Internal function
- _og_role_watchdog_process_role_changes in modules/
og_role_watchdog/ og_role_watchdog.module - Internal function
- _og_role_watchdog_request_role in modules/
og_role_watchdog/ og_role_watchdog.module - Internal function
File
- modules/
og_role_watchdog/ og_role_watchdog.module, line 230 - Logs changes to user roles.
Code
function _og_role_watchdog_notification_vars($gid) {
$group_node = node_load($gid);
return array(
'!group' => check_plain($group_node->title),
'!role_modifier' => t(' in group "@group"', array(
'@group' => $group_node->title,
)),
);
return $result;
}