function hook_raven_sanitize_fields_alter in Raven: Sentry Integration 7
Same name and namespace in other branches
- 7.2 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 an instance of the Raven PHP client.
File
- ./
raven.api.php, line 123 - Sample hooks demonstrating usage of Raven.
Code
function hook_raven_sanitize_fields_alter(array &$fields) {
$fields[] = 'data';
}