function biblio_ui_delete_biblio in Bibliography Module 7.3
Form for deleting the a biblio entry.
1 string reference to 'biblio_ui_delete_biblio'
- biblio_ui_menu in modules/
biblio_ui/ biblio_ui.module - Implements hook_menu().
File
- modules/
biblio_ui/ biblio_ui.module, line 621 - Main functionality file for the biblio UI module.
Code
function biblio_ui_delete_biblio($form, $form_state, $biblio) {
// When the bundle is exported - display a message to the user.
$form_state['#entity'] = $biblio;
// 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 @title?', array(
'@title' => $biblio->title,
)), 'biblio', t('Are you sure you want to delete this biblio entry? This action cannot be undone.'), t('Delete'), t('Cancel'));
}