function raven_get_error_levels in Raven: Sentry Integration 7
Returns supported PHP error levels and their labels.
Return value
array An array containing supported PHP error levels and their labels.
1 call to raven_get_error_levels()
- raven_settings_form in ./
raven.admin.inc - Returns set settings form for Raven.
File
- ./
raven.admin.inc, line 13 - Contains the administration pages for Raven.
Code
function raven_get_error_levels() {
foreach (drupal_error_levels() as $level => $label) {
$levels[$level] = $label[0];
}
return $levels;
}