function hook_heartbeat_theme_alter in Heartbeat 7
Hook to alter messages before render engine starts.
This hook is invoked right before the parsing of messages has finished and before the template engine started rendering.
Parameters
array $messages: Array of messages to alter by address.
HeartbeatStream $heartbeatStream: The heartbeat stream object.
1 function implements hook_heartbeat_theme_alter()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- heartbeat_plugins_heartbeat_theme_alter in modules/
heartbeat_plugins/ heartbeat_plugins.module - Implementation of hook_heartbeat_theme_alter().
File
- ./
heartbeat.api.php, line 239 - Hooks provided by the Heartbeat API.
Code
function hook_heartbeat_theme_alter(&$messages, HeartbeatStream $heartbeatStream) {
// Here you do pretty much whatever you want.
}