You are here

function heartbeat_example_heartbeat_register_access_types in Heartbeat 6.4

Implementation of hook_heartbeat_register_access_types().

File

modules/heartbeat_example/heartbeat_example.module, line 128

Code

function heartbeat_example_heartbeat_register_access_types() {
  return array(
    // Site activity stream is kind of a copy of HeartbeatPublic.
    // It is only to show you how it's done.
    0 => array(
      'name' => 'Site activity',
      'class' => 'SiteActivity',
      'path' => 'siteactivity.inc',
      'module' => 'heartbeat_example',
    ),
  );
}