system_logging_settings
function system_logging_settings
system_logging_settings()
Form builder; Configure error reporting settings.
See also
Related topics
File
- modules/system/system.admin.inc, line 1666
- Admin page callbacks for the system module.
Code
function system_logging_settings() { $form['error_level'] = array( '#type' => 'radios', '#title' => t('Error messages to display'), '#default_value' => variable_get('error_level', 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); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!system!system.admin.inc/function/system_logging_settings/7.x