function _flag_abuse_abuse_user_flags in Flag Abuse 6
Same name and namespace in other branches
- 6.2 includes/flag_abuse.flag_default.inc \_flag_abuse_abuse_user_flags()
- 7.2 includes/flag_abuse.flag_default.inc \_flag_abuse_abuse_user_flags()
1 call to _flag_abuse_abuse_user_flags()
- flag_abuse_flag_default_flags in ./
flag_abuse.module - Implementation of hook_flag_default_flags().
File
- includes/
flag_abuse.flag_default.inc, line 51
Code
function _flag_abuse_abuse_user_flags(&$flags) {
$flags[] = array(
'content_type' => 'user',
'name' => 'abuse_user',
'title' => 'User Abuse',
'roles' => array(
0 => '2',
),
'global' => FALSE,
'flag_short' => 'Report User',
'flag_long' => 'Report this user as offensive.',
'flag_confirmation' => 'Are you sure you want to report this user as offensive?',
'unflag_short' => 'Remove Report',
'unflag_long' => 'Remove your report about this user.',
'unflag_confirmation' => 'Are you sure you want to remove your report of this user?',
'status' => FALSE,
'show_on_teaser' => FALSE,
'link_type' => 'confirm',
'locked' => array(
'name',
'global',
),
);
return $flags;
}