You are here

function rb_misc_action_arg_form in Rules Bonus Pack 6

Configuration form for 'rb_misc_action_arg'.

File

./rb_misc.module, line 234
Miscellaneous conditions and actions for Rules.

Code

function rb_misc_action_arg_form($settings, &$form) {
  $form['settings']['arg_part'] = array(
    '#type' => 'select',
    '#options' => range(0, 9),
    '#default_value' => $settings['arg_part'],
    '#title' => t('Part of path argument'),
    '#description' => t('The part of the path argument to load. Note that
      numbering starts with zero.'),
  );
}