You are here

function hook_heartbeat_stream_load in Heartbeat 7

Hook to alter the stream or take action when the stream is loaded.

2 functions implement hook_heartbeat_stream_load()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

heartbeat_nodejs_heartbeat_stream_load in modules/heartbeat_nodejs/heartbeat_nodejs.module
Implements hook_heartbeat_stream_load().
heartbeat_plugins_heartbeat_stream_load in modules/heartbeat_plugins/heartbeat_plugins.module
Implements hook_heartbeat_stream_load().
1 invocation of hook_heartbeat_stream_load()
heartbeat_stream in ./heartbeat.streams.inc
Prepares a heartbeat stream.

File

./heartbeat.api.php, line 186
Hooks provided by the Heartbeat API.

Code

function hook_heartbeat_stream_load(HeartbeatStream $heartbeatStream) {

  // Alter things in the configuration object or the stream itself.
  // Load extra requirements such as includes, behaviors, ...
}