function heartbeat_defaults_heartbeat_stream_info in Heartbeat 7
Implements hook_heartbeat_stream_info().
File
- modules/
heartbeat_defaults/ heartbeat_defaults.heartbeat.inc, line 11 - Bulk export of heartbeat objects generated by Bulk export module.
Code
function heartbeat_defaults_heartbeat_stream_info() {
$heartbeatstreams = array();
/**
* useractivity
*/
$heartbeatstream = new HeartbeatStreamConfig();
$heartbeatstream->disabled = FALSE;
/* Edit this to true to make a default heartbeatstream disabled initially */
$heartbeatstream->api_version = 1;
$heartbeatstream->class = 'useractivity';
$heartbeatstream->real_class = 'useractivity';
$heartbeatstream->name = 'User activity';
$heartbeatstream->module = 'heartbeat_defaults';
$heartbeatstream->title = 'User activity';
$heartbeatstream->path = 'streams/useractivity.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' => 'useractivity',
'stream_profile_path' => 'useractivity',
'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['useractivity'] = $heartbeatstream;
/**
* siteactivity
*/
$heartbeatstream = new HeartbeatStreamConfig();
$heartbeatstream->disabled = FALSE;
/* Edit this to true to make a default heartbeatstream disabled initially */
$heartbeatstream->api_version = 1;
$heartbeatstream->class = 'siteactivity';
$heartbeatstream->real_class = 'siteactivity';
$heartbeatstream->name = 'Site activity';
$heartbeatstream->module = 'heartbeat_defaults';
$heartbeatstream->title = 'Site activity';
$heartbeatstream->path = 'streams/siteactivity.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' => '40',
'grouping_seconds' => '7200',
'has_block' => 1,
'block_items_max' => '5',
'block_show_pager' => '1',
'block_view_mode' => 'default',
'stream_path' => 'heartbeat/siteactivity',
'stream_profile_path' => '',
'page_items_max' => '8',
'page_show_pager' => 1,
'page_pager_ajax' => 1,
'page_view_mode' => 'full',
'show_status_form' => '0',
'shoutbox' => 0,
);
$heartbeatstream->variables = array();
$heartbeatstreams['siteactivity'] = $heartbeatstream;
/**
* relationsactivity
*/
$heartbeatstream = new HeartbeatStreamConfig();
$heartbeatstream->disabled = FALSE;
/* Edit this to true to make a default heartbeatstream disabled initially */
$heartbeatstream->api_version = 1;
$heartbeatstream->class = 'relationsactivity';
$heartbeatstream->real_class = 'relationsactivity';
$heartbeatstream->name = 'User relations activity';
$heartbeatstream->module = 'heartbeat_defaults';
$heartbeatstream->title = 'User relations activity';
$heartbeatstream->path = 'streams/relationsactivity.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' => '30',
'grouping_seconds' => '7200',
'has_block' => 1,
'block_items_max' => '5',
'block_show_pager' => '1',
'block_view_mode' => 'default',
'stream_path' => 'heartbeat/relations',
'stream_profile_path' => 'friends-activity',
'page_items_max' => '8',
'page_show_pager' => 1,
'page_pager_ajax' => 1,
'page_view_mode' => 'full',
'show_status_form' => '0',
'shoutbox' => 0,
);
$heartbeatstream->variables = array();
$heartbeatstreams['relationsactivity'] = $heartbeatstream;
/**
* nodeactivity
*/
$heartbeatstream = new HeartbeatStreamConfig();
$heartbeatstream->disabled = FALSE;
/* Edit this to true to make a default heartbeatstream disabled initially */
$heartbeatstream->api_version = 1;
$heartbeatstream->class = 'nodeactivity';
$heartbeatstream->real_class = 'nodeactivity';
$heartbeatstream->name = 'Node activity';
$heartbeatstream->module = 'heartbeat_defaults';
$heartbeatstream->title = 'Node activity';
$heartbeatstream->path = 'streams/nodeactivity.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' => '60',
'num_load_max' => '20',
'grouping_seconds' => '7200',
'has_block' => 1,
'block_items_max' => '5',
'block_show_pager' => '1',
'block_view_mode' => 'default',
'stream_path' => 'heartbeat/node-activity',
'stream_profile_path' => '',
'page_items_max' => '8',
'page_show_pager' => 0,
'page_pager_ajax' => 0,
'page_view_mode' => 'full',
'show_status_form' => '0',
'shoutbox' => 0,
);
$heartbeatstream->variables = array();
$heartbeatstreams['nodeactivity'] = $heartbeatstream;
/**
* tweet_siteactivity (extending siteactivity)
*/
$heartbeatstream = new HeartbeatStreamConfig();
$heartbeatstream->disabled = FALSE;
/* Edit this to true to make a default heartbeatstream disabled initially */
$heartbeatstream->api_version = 1;
$heartbeatstream->class = 'tweet_siteactivity';
$heartbeatstream->real_class = 'siteactivity';
$heartbeatstream->name = 'Site activity';
$heartbeatstream->module = 'heartbeat_defaults';
$heartbeatstream->title = 'Site activity with activity form';
$heartbeatstream->path = 'streams/siteactivity.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' => '30',
'num_load_max' => '30',
'grouping_seconds' => '7200',
'has_block' => 1,
'block_items_max' => '5',
'block_show_pager' => '1',
'block_view_mode' => 'default',
'stream_path' => 'heartbeat/tweet',
'stream_profile_path' => '',
'page_items_max' => '8',
'page_show_pager' => 1,
'page_pager_ajax' => 1,
'page_view_mode' => 'full',
'show_status_form' => 'heartbeat_tweet',
'shoutbox' => 0,
);
$heartbeatstream->variables = array();
$heartbeatstreams['tweet_siteactivity'] = $heartbeatstream;
return $heartbeatstreams;
}