You are here

function rb_numbers_action_sum_form in Rules Bonus Pack 6

Configuration form for 'rb_numbers_action_sum'.

File

./rb_numbers.module, line 102
Functions for extending number management with Rules.

Code

function rb_numbers_action_sum_form($settings, &$form) {
  $form['settings']['terms'] = array(
    '#type' => 'textarea',
    '#title' => t('Terms to sum'),
    '#default_value' => $settings['terms'],
    '#description' => t('Enter the numbers to sum, one per line.'),
  );
}