system_logging_settings()Form builder; Configure error reporting settings.
modules/system/system.admin.inc, line 1589
<?php
function system_logging_settings() {
$form['error_level'] = array(
'#type' => 'radios',
'#title' => t('Error messages to display'),
'#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'),
),
'#description' => t('It is recommended that sites running on production environments do not display any errors.'),
);
return system_settings_form($form);
}
?>