You are here

function raven_permission in Raven: Sentry Integration 7.4

Same name and namespace in other branches
  1. 7 raven.module \raven_permission()
  2. 7.2 raven.module \raven_permission()
  3. 7.3 raven.module \raven_permission()

Implements hook_permission().

File

./raven.module, line 36
Allows to track errors to Sentry server.

Code

function raven_permission() {
  return [
    'send javascript errors to sentry' => [
      'title' => t('Send JavaScript errors to Sentry'),
      'description' => t('For users with this permission, JavaScript errors will be captured and sent to Sentry.'),
    ],
  ];
}