function _watchdog_triggers_clean_array in Logging and alerts 6
Same name and namespace in other branches
- 6.2 watchdog_triggers/watchdog_triggers.module \_watchdog_triggers_clean_array()
- 7.2 watchdog_triggers/watchdog_triggers.module \_watchdog_triggers_clean_array()
- 7 watchdog_triggers/watchdog_triggers.module \_watchdog_triggers_clean_array()
Helper function, prepares user data in an array for matching.
1 call to _watchdog_triggers_clean_array()
- watchdog_triggers_watchdog in watchdog_triggers/
watchdog_triggers.module - Implementation of hook_watchdog().
File
- watchdog_triggers/
watchdog_triggers.module, line 259 - Provides a Trigger and Action integration for watchdog events.
Code
function _watchdog_triggers_clean_array($this_array) {
foreach ($this_array as $key => $value) {
$this_array[$key] = trim($value);
}
return $this_array;
}