function hook_raven_sanitize_fields_alter in Raven: Sentry Integration 7.2
Same name and namespace in other branches
- 7 raven.api.php \hook_raven_sanitize_fields_alter()
- 7.3 raven.api.php \hook_raven_sanitize_fields_alter()
Alter the array of fields that should be sanitized.
The field will be used in a regular expression, so you may need to run preg_quote($field, '/') on the field name.
Parameters
array $fields: A reference to array containing the field names.
1 invocation of hook_raven_sanitize_fields_alter()
- raven_get_client in ./
raven.module - Returns the Sentry PHP client instance, or NULL if it could not be created.
File
- ./
raven.api.php, line 68 - Sample hooks demonstrating usage of Raven.
Code
function hook_raven_sanitize_fields_alter(array &$fields) {
$fields[] = 'data';
}