function hook_heartbeat_activity_save in Heartbeat 7
Take action when activity is being saved.
Parameters
HeartbeatActivity $heartbeatActivity: The heartbeat activity object.
1 function implements hook_heartbeat_activity_save()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- heartbeat_nodejs_heartbeat_activity_save in modules/
heartbeat_nodejs/ heartbeat_nodejs.module - Implements hook_heartbeat_activity_save().
1 invocation of hook_heartbeat_activity_save()
- HeartbeatActivity::log_message in includes/
heartbeatactivity.inc - Logs a heartbeat message
File
- ./
heartbeat.api.php, line 178 - Hooks provided by the Heartbeat API.
Code
function hook_heartbeat_activity_save($heartbeatActivity) {
// Do your stuff...
}