function devel_get_handlers
Same name in other branches
- 4.x devel.module \devel_get_handlers()
- 5.x devel.module \devel_get_handlers()
Gets error handlers.
Return value
array
3 calls to devel_get_handlers()
- backtrace_error_handler in ./
devel.module - Displays backtrace showing the route of calls to the current error.
- devel_admin_settings in ./
devel.admin.inc - Form constructor for the settings form.
- devel_init in ./
devel.module - Implements hook_init().
File
-
./
devel.module, line 606
Code
function devel_get_handlers() {
$error_handlers = variable_get('devel_error_handlers', array(
DEVEL_ERROR_HANDLER_STANDARD => DEVEL_ERROR_HANDLER_STANDARD,
));
if (!empty($error_handlers)) {
unset($error_handlers[DEVEL_ERROR_HANDLER_NONE]);
}
return $error_handlers;
}