You are here

function heartbeat_og_heartbeat_stream_info in Heartbeat 7

Implements hook_heartbeat_stream_info().

File

modules/heartbeat_og/heartbeat_og.heartbeat.inc, line 10
Bulk export of heartbeat objects generated by Bulk export module.

Code

function heartbeat_og_heartbeat_stream_info() {
  $heartbeatstreams = array();

  /**
   * groupactivity
   */
  $heartbeatstream = new HeartbeatStreamConfig();
  $heartbeatstream->disabled = FALSE;

  /* Edit this to true to make a default heartbeatstream disabled initially */
  $heartbeatstream->api_version = 1;
  $heartbeatstream->class = 'groupactivity';
  $heartbeatstream->name = 'Group activity';
  $heartbeatstream->module = 'heartbeat_plugins';
  $heartbeatstream->title = 'Group activity';
  $heartbeatstream->path = 'streams/groupactivity.inc';
  $heartbeatstream->settings = array(
    'settings__active_tab' => 'edit-settings-fs-blocks',
    'messages_denied' => array(),
    'skip_active_user' => 0,
    'show_message_times' => 1,
    'show_message_times_grouped' => 1,
    'poll_messages' => '0',
    'num_load_max' => '100',
    'grouping_seconds' => '7200',
    'has_block' => 1,
    'block_items_max' => '5',
    'block_show_pager' => '1',
    'block_view_mode' => 'default',
    'stream_path' => '',
    'stream_profile_path' => '',
    'page_items_max' => '8',
    'page_show_pager' => 0,
    'page_pager_ajax' => 0,
    'page_view_mode' => 'default',
    'show_status_form' => '0',
    'shoutbox' => 0,
  );
  $heartbeatstream->variables = array();
  $heartbeatstreams['groupactivity'] = $heartbeatstream;

  /**
   * groupsactivity
   */
  $heartbeatstream = new HeartbeatStreamConfig();
  $heartbeatstream->disabled = FALSE;

  /* Edit this to true to make a default heartbeatstream disabled initially */
  $heartbeatstream->api_version = 1;
  $heartbeatstream->class = 'groupsactivity';
  $heartbeatstream->name = 'Groups activity';
  $heartbeatstream->module = 'heartbeat_plugins';
  $heartbeatstream->title = 'Activity from all groups';
  $heartbeatstream->path = 'streams/groupsactivity.inc';
  $heartbeatstream->settings = array(
    'settings__active_tab' => 'edit-settings-fs-blocks',
    'messages_denied' => array(),
    'skip_active_user' => 0,
    'show_message_times' => 1,
    'show_message_times_grouped' => 1,
    'poll_messages' => '0',
    'num_load_max' => '100',
    'grouping_seconds' => '7200',
    'has_block' => 1,
    'block_items_max' => '5',
    'block_show_pager' => '1',
    'block_view_mode' => 'default',
    'stream_path' => 'groups-activity',
    'stream_profile_path' => 'groups-activity',
    'page_items_max' => '8',
    'page_show_pager' => 0,
    'page_pager_ajax' => 0,
    'page_view_mode' => 'default',
    'show_status_form' => '0',
    'shoutbox' => 0,
  );
  $heartbeatstream->variables = array();
  $heartbeatstreams['groupsactivity'] = $heartbeatstream;

  /**
   * membersactivity
   */
  $heartbeatstream = new HeartbeatStreamConfig();
  $heartbeatstream->disabled = FALSE;

  /* Edit this to true to make a default heartbeatstream disabled initially */
  $heartbeatstream->api_version = 1;
  $heartbeatstream->class = 'membersactivity';
  $heartbeatstream->name = 'Members activity';
  $heartbeatstream->module = 'heartbeat_plugins';
  $heartbeatstream->title = 'Activity from all members in a group';
  $heartbeatstream->path = 'streams/membersactivity.inc';
  $heartbeatstream->settings = array(
    'settings__active_tab' => 'edit-settings-fs-blocks',
    'messages_denied' => array(),
    'skip_active_user' => 0,
    'show_message_times' => 1,
    'show_message_times_grouped' => 1,
    'poll_messages' => '0',
    'num_load_max' => '100',
    'grouping_seconds' => '7200',
    'has_block' => 1,
    'block_items_max' => '5',
    'block_show_pager' => '1',
    'block_view_mode' => 'default',
    'stream_path' => '',
    'stream_profile_path' => '',
    'page_items_max' => '8',
    'page_show_pager' => 0,
    'page_pager_ajax' => 0,
    'page_view_mode' => 'default',
    'show_status_form' => '0',
    'shoutbox' => 0,
  );
  $heartbeatstream->variables = array();
  $heartbeatstreams['membersactivity'] = $heartbeatstream;
  return $heartbeatstreams;
}