You are here

function hook_heartbeat_related_uids in Heartbeat 7

Hook to calculate user ID's based on a defined relation. This can be OG, friends, followers, etc ... .

Parameters

Integer $uid: The user ID whom we calculate the relations for.

1 function implements hook_heartbeat_related_uids()

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

heartbeat_heartbeat_related_uids in ./heartbeat.module
Implements hook_heartbeat_related_uids().
1 invocation of hook_heartbeat_related_uids()
heartbeat_related_uids in ./heartbeat.module
Returns a set of users related to a central user.

File

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

Code

function hook_heartbeat_related_uids($uid) {
  return array(
    $uid,
  );
}