You are here

function heartbeat_delete_confirm in Heartbeat 6.4

Menu callback: confirm delete message templates.

1 string reference to 'heartbeat_delete_confirm'
heartbeat_menu in ./heartbeat.module
Implementation of hook_menu().

File

./heartbeat.admin.inc, line 1277
Admnistration tasks for heartbeat.

Code

function heartbeat_delete_confirm($form_state, $message) {
  return confirm_form(array(
    'hid' => array(
      '#type' => 'hidden',
      '#value' => $message->hid,
    ),
  ), t('Are you sure you want to delete !mess template?', array(
    '!mess' => $message->message_id,
  )), 'admin/build/heartbeat/list', t('This action cannot be undone.'), t('Delete heartbeat message template'), t('Cancel'));
}