You are here

function boost_admin_debug_settings in Boost 7

Form builder; Configure boost settings.

See also

system_settings_form()

1 string reference to 'boost_admin_debug_settings'
boost_menu in ./boost.module
Implements hook_menu().

File

./boost.admin.debug.inc, line 14
Admin page callbacks for the boost module.

Code

function boost_admin_debug_settings() {
  $form['boost_message_debug'] = array(
    '#type' => 'checkbox',
    '#title' => t('Send debug info for each request to watchdog.'),
    '#default_value' => variable_get('boost_message_debug', BOOST_MESSAGE_DEBUG),
    '#description' => t('Only use for debugging purposes as this can fill up watchdog fairly quickly.'),
  );

  // Reset htaccess on submit.
  $form['#submit'][] = 'boost_form_submit_handler';
  return system_settings_form($form);
}