You are here

function biblio_ui_contributor_delete_form in Bibliography Module 7.3

Form for deleting a contributor entry.

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

File

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

Code

function biblio_ui_contributor_delete_form($form, $form_state, BiblioContributor $contributor) {
  $form_state['#entity'] = $contributor;
  return confirm_form($form, t('Are you sure you want to delete @title?', array(
    '@title' => $contributor->name,
  )), 'biblio', t('Are you sure you want to delete this contributor entry? This action cannot be undone.'), t('Delete'), t('Cancel'));
}