You are here

function block_upload_settings_form in Block Upload 7

Builds Module configuration form.

Blocks count selector.

1 string reference to 'block_upload_settings_form'
block_upload_menu in ./block_upload.module
Implements hook_menu().

File

./block_upload.admin.inc, line 13
Bclock Upload admin form.

Code

function block_upload_settings_form($form, &$form_state) {
  $form['block_upload_blocks_count'] = array(
    '#type' => 'select',
    '#title' => t('Blocks count'),
    '#options' => drupal_map_assoc(range(1, 10)),
    '#default_value' => variable_get('block_upload_blocks_count', 1),
  );
  return system_settings_form($form);
}