You are here

function hook_raven_breadcrumb_alter in Raven: Sentry Integration 7.4

Same name and namespace in other branches
  1. 8.2 raven.api.php \hook_raven_breadcrumb_alter()
  2. 7.2 raven.api.php \hook_raven_breadcrumb_alter()
  3. 7.3 raven.api.php \hook_raven_breadcrumb_alter()
  4. 3.x raven.api.php \hook_raven_breadcrumb_alter()

Modify or suppress breadcrumbs.

Parameters

array $breadcrumb: A reference to array containing the breadcrumb data.

1 invocation of hook_raven_breadcrumb_alter()
raven_watchdog in ./raven.module
Implements hook_watchdog().

File

./raven.api.php, line 68
Sample hooks demonstrating usage of Raven.

Code

function hook_raven_breadcrumb_alter(array &$breadcrumb) {

  // Don't record breadcrumbs.
  $breadcrumb['process'] = FALSE;
}