You are here

function flag_rules_action_trim_form in Flag 6

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

File

includes/flag.rules_forms.inc, line 40
flag.rules_form.inc Rules integration for the Flag module.

Code

function flag_rules_action_trim_form($settings, &$form, &$form_state) {

  // Move argument to center of form.
  $form['settings']['cutoff_size']['#weight'] = 2;
}