You are here

function flag_rules_action_unflag_form in Flag 6.2

Same name and namespace in other branches
  1. 6 includes/flag.rules_forms.inc \flag_rules_action_unflag_form()

File

includes/flag.rules_forms.inc, line 26
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'],
  );
}