You are here

function hook_heartbeat_activity_delete in Heartbeat 7

Take action when activity is being deleted.

Parameters

array $uaids: Array of activity ID's

3 functions implement hook_heartbeat_activity_delete()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

heartbeat_comments_heartbeat_activity_delete in modules/heartbeat_comments/heartbeat_comments.module
Implementation of hook_heartbeat_activity_delete(). Delete the attached comments to a heartbeat activity object.
heartbeat_nodejs_heartbeat_activity_delete in modules/heartbeat_nodejs/heartbeat_nodejs.module
Implements hook_heartbeat_activity_delete().
heartbeat_plugins_heartbeat_activity_delete in modules/heartbeat_plugins/heartbeat_plugins.module
Implements of hook_heartbeat_activity_delete().
1 invocation of hook_heartbeat_activity_delete()
heartbeat_activity_delete in ./heartbeat.module
Deletes a heartbeat activity messages.

File

./heartbeat.api.php, line 148
Hooks provided by the Heartbeat API.

Code

function hook_heartbeat_activity_delete($uaids) {

  // Do your stuff...
}