function devel_get_handlers
Same name in other branches
- 7.x-1.x devel.module \devel_get_handlers()
- 8.x-1.x devel.module \devel_get_handlers()
- 5.x devel.module \devel_get_handlers()
Gets error handlers.
3 calls to devel_get_handlers()
- backtrace_error_handler in ./
devel.module - Displays backtrace showing the route of calls to the current error.
- ErrorHandlerSubscriber::registerErrorHandler in src/
EventSubscriber/ ErrorHandlerSubscriber.php - Register devel error handler.
- SettingsForm::buildForm in src/
Form/ SettingsForm.php - Form constructor.
File
-
./
devel.module, line 160
Code
function devel_get_handlers() {
$error_handlers = \Drupal::config('devel.settings')->get('error_handlers');
if (!empty($error_handlers)) {
unset($error_handlers[DEVEL_ERROR_HANDLER_NONE]);
}
return $error_handlers;
}