You are here

function prevnext_settings in Prevnext 7

Previous/Next Settings Form Callback

1 string reference to 'prevnext_settings'
prevnext_menu in ./prevnext.module
Implements hook_menu().

File

include/prevnext.admin.inc, line 10
prevnext.admin.inc

Code

function prevnext_settings($form, &$form_state) {
  $form['prevnext_enabled_nodetypes'] = array(
    '#title' => t('Enabled Node Types'),
    '#description' => t('Check node types enabled for Previous/Next'),
    '#type' => 'checkboxes',
    '#options' => _prevnext_types_as_options(),
    '#default_value' => variable_get('prevnext_enabled_nodetypes', array()),
  );
  $form['#submit'][] = 'prevnext_settings_submit';
  return system_settings_form($form);
}