You are here

function heartbeat_message_template_load in Heartbeat 7

Function to load heartbeat message templates.

Parameters

$id Int/String The target value to delete on:

$type String The key field to perform delete query on: message : default module : only defined by that module

8 calls to heartbeat_message_template_load()
HeartbeatActivityStatusPlugin::streamLoaded in modules/heartbeat_plugins/plugins/activitystatus.inc
streamLoaded().
heartbeat_activity_form_callback in ./heartbeat.entity.inc
Ajax callback function when Heartbeat Activity is posted as Profile Status.
heartbeat_activity_load_multiple in ./heartbeat.module
Load multiple activity records by user activity ID's.
heartbeat_api_log in ./heartbeat.module
API function to log a message from custom code
heartbeat_log in ./heartbeat.module
User activity logger function

... See full list

File

./heartbeat.module, line 1121
Module file for heartbeat activity. Basic hook implementations and helper functions will be found here.

Code

function heartbeat_message_template_load($message_id) {
  ctools_include('export');
  return ctools_export_crud_load('heartbeat_messages', $message_id);
}