You are here

function biblio_ui_delete_bundle in Bibliography Module 7.3

Delete the a biblio entry.

1 string reference to 'biblio_ui_delete_bundle'
biblio_ui_menu in modules/biblio_ui/biblio_ui.module
Implements hook_menu().

File

modules/biblio_ui/biblio_ui.module, line 766
Main functionality file for the biblio UI module.

Code

function biblio_ui_delete_bundle($form, &$form_state, $type) {

  // When the bundle is exported - display a message to the user.
  $type = biblio_types($type);
  $form_state['#type'] = $type;

  // Always provide entity id in the same form key as in the entity edit form.
  return confirm_form($form, t('Are you sure you want to delete the bundle @title?', array(
    '@title' => $type->name,
  )), 'admin/structure/biblio', t('Are you sure you want to delete this biblio type? This action cannot be undone.'), t('Delete'), t('Cancel'));
}