function heartbeat_stream_config_load in Heartbeat 7
Menu loader for the configuration object of a stream.
4 calls to heartbeat_stream_config_load()
- heartbeat_block_configure in ./
heartbeat.module - Implements hook_block_configure().
- heartbeat_block_save in ./
heartbeat.module - Implements hook_block_save().
- heartbeat_stream in ./
heartbeat.streams.inc - Prepares a heartbeat stream.
- heartbeat_stream_has_access in ./
heartbeat.streams.inc - Helper function to check access on activity stream by name.
File
- ./
heartbeat.streams.inc, line 117
Code
function heartbeat_stream_config_load($class) {
$streams =& drupal_static('heartbeat_streams');
if (!isset($streams[$class])) {
ctools_include('export');
$streams[$class] = ctools_export_crud_load('heartbeat_streams', $class);
if (isset($streams[$class])) {
_heartbeat_stream_config_unpack($streams[$class]);
}
}
return $streams[$class];
}