You are here

function simplemeta_meta_delete_confirm in Simple Meta 6.2

Same name and namespace in other branches
  1. 7 simplemeta.admin.inc \simplemeta_meta_delete_confirm()
1 string reference to 'simplemeta_meta_delete_confirm'
simplemeta_menu in ./simplemeta.module
Implements hook_menu()

File

./simplemeta.admin.inc, line 42

Code

function simplemeta_meta_delete_confirm(&$form_state, $meta) {
  $form['sid'] = array(
    '#type' => 'value',
    '#value' => $meta->sid,
  );
  return confirm_form($form, t('Are you sure you want to delete Simplemeta %sid?', array(
    '%sid' => $meta->sid,
  )), isset($_GET['destination']) ? $_GET['destination'] : 'admin/content/simplemeta/' . $meta->sid . '/edit', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}