function flag_rules_action_flag_form in Flag 6.2
Same name and namespace in other branches
- 6 includes/flag.rules_forms.inc \flag_rules_action_flag_form()
File
- includes/
flag.rules_forms.inc, line 12 - Rules integration for the Flag module.
Code
function flag_rules_action_flag_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 flag'),
'#type' => 'checkbox',
'#default_value' => $settings['permission_check'],
);
}