system_logging_settings

Versions
7
system_logging_settings()

Form builder; Configure error reporting settings.

See also

system_settings_form()

Related topics

Code

modules/system/system.admin.inc, line 1509

<?php
function system_logging_settings() {
  $form['error_level'] = array(
    '#type' => 'radios',
    '#title' => t('Display PHP messages'),
    '#default_value' => ERROR_REPORTING_DISPLAY_ALL,
    '#options' => array(
      ERROR_REPORTING_HIDE => t('None'),
      ERROR_REPORTING_DISPLAY_SOME => t('Errors and warnings'),
      ERROR_REPORTING_DISPLAY_ALL => t('All messages'),
    ),
  );

  return system_settings_form($form);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.