You are here

function heartbeat_revert_confirm in Heartbeat 6.4

Menu callback: confirm revert message.

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

File

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

Code

function heartbeat_revert_confirm($form_state, $hid) {
  return confirm_form(array(
    'hid' => array(
      '#type' => 'hidden',
      '#value' => $hid,
    ),
  ), t('Are you sure you want to revert this message template back to default?'), 'admin/build/heartbeat/list', t('This action cannot be undone.'), t('Revert heartbeat message'), t('Cancel'));
}