function heartbeat_heartbeat_register_access_types in Heartbeat 6.4
Same name and namespace in other branches
- 6.3 heartbeat.module \heartbeat_heartbeat_register_access_types()
Implementation of hook_heartbeat_register_access_types().
1 call to heartbeat_heartbeat_register_access_types()
- heartbeat_check_access_types in ./
heartbeat.module - Check if there no new heartbeat access types available
File
- ./
heartbeat.module, line 1050
Code
function heartbeat_heartbeat_register_access_types() {
return array(
0 => array(
'name' => 'Personal Heartbeat',
'class' => 'PrivateHeartbeat',
'path' => 'includes/privateheartbeat.inc',
'module' => 'heartbeat',
'access' => array(
'view personal heartbeat activity',
),
),
1 => array(
'name' => 'Public Heartbeat',
'class' => 'PublicHeartbeat',
'path' => 'includes/publicheartbeat.inc',
'module' => 'heartbeat',
'access' => TRUE,
),
2 => array(
'name' => 'Single activity',
'class' => 'SingleHeartbeat',
'path' => 'includes/singleheartbeat.inc',
'module' => 'heartbeat',
'access' => TRUE,
),
);
}