aboutsummaryrefslogtreecommitdiff
path: root/muamba.admin.inc
blob: cafc7b3a600da35806c96989710d6445edcfbee8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

/**
 * @file
 * Muamba admin callbacks.
 */

/**
 * Menu callback.
 */
function muamba_config_form($form, &$form_state) {
  $form['muamba_reject_all_on_accept'] = array(
    '#type'          => 'checkbox',
    '#title'         => t('Reject all pending requests upon acceptance'),
    '#default_value' => variable_get('muamba_reject_all_on_accept', FALSE),
    '#description'   => t('Cancel all other requests of an item upon acceptance'),
  );

  return system_settings_form($form);
}