function flag_rules_action_unflag_form in Flag 6
Same name and namespace in other branches
- 6.2 includes/flag.rules_forms.inc \flag_rules_action_unflag_form()
File
- includes/
flag.rules_forms.inc, line 26 - flag.rules_form.inc Rules integration for the Flag module.
Code
function flag_rules_action_unflag_form($settings, &$form, &$form_state) {
$settings += array(
'permission_check' => FALSE,
);
$form['settings']['permission_check'] = array(
'#title' => t('Check access permissions against the user on whose behalf to unflag'),
'#type' => 'checkbox',
'#default_value' => $settings['permission_check'],
);
}