function raven_page_build in Raven: Sentry Integration 7.3
Same name and namespace in other branches
- 7.4 raven.module \raven_page_build()
- 7 raven.module \raven_page_build()
- 7.2 raven.module \raven_page_build()
Implements hook_page_build().
File
- ./
raven.module, line 90 - Allows to track errors to Sentry server.
Code
function raven_page_build(&$page) {
if (variable_get('raven_js_enabled', FALSE) && user_access('send javascript errors to sentry')) {
drupal_add_library('raven', 'raven', TRUE);
}
}