You are here

function superfish_admin_settings in Superfish 7

Module settings form.

1 string reference to 'superfish_admin_settings'
superfish_menu in ./superfish.module
Implements hook_menu().

File

./superfish.admin.inc, line 39
Functions that are only called on the admin pages.

Code

function superfish_admin_settings() {
  $form['superfish_number'] = array(
    '#type' => 'textfield',
    '#title' => t('Number of blocks'),
    '#multiple' => FALSE,
    '#description' => sprintf('%1$s (%2$s: 4)<br />%3$s', t('The number of Superfish menu blocks.'), t('Default'), t('Please note decreasing this number leads to permanent deletion of blocks.')),
    '#default_value' => variable_get('superfish_number', 4),
  );
  return superfish_system_settings_form($form, FALSE);
}