function heartbeat_rules_action_info in Heartbeat 6.3
Implementation of hook_rules_action_info().
File
- ./
heartbeat.rules.inc, line 79
Code
function heartbeat_rules_action_info() {
$info = array(
// Base action to execute as default user activity logs
'heartbeat_rules_default_action' => array(
'label' => t('Logs user activity for single users'),
'eval input' => array(
'uid_param',
'uid_target_param',
'nid_target_param',
'message_id_param',
'variables_param',
),
'help' => 'Create a relation between a user and others when handling content(node or comment).',
'module' => 'heartbeat',
),
// Simplified action to execute user-to-user activity logs
'heartbeat_rules_users_action' => array(
'label' => t('Logs default user activity between users'),
'eval input' => array(
'uid_param',
'uid_target_param',
'message_id_param',
'variables_param',
),
'help' => 'Create a relation between a user and another user.',
'module' => 'heartbeat',
),
);
return $info;
}