You are here

function heartbeat_messages_install in Heartbeat 6.4

Same name and namespace in other branches
  1. 6.2 heartbeat.module \heartbeat_messages_install()
  2. 6.3 heartbeat.module \heartbeat_messages_install()

Function to install default records

Parameters

string $module to conventionally look: for defined record objects in heartbeat_messages

1 call to heartbeat_messages_install()
heartbeat_messages_revert in ./heartbeat.admin.inc
Revert a heartbeat message back to default

File

./heartbeat.module, line 1346

Code

function heartbeat_messages_install($objects) {
  foreach ($objects as $record) {
    heartbeat_message_insert($record);
  }
  return $objects;
}