You are here

function crm_core_data_import_delete_page in CRM Core 7

Page to delete data import task.

1 string reference to 'crm_core_data_import_delete_page'
crm_core_data_import_menu in modules/crm_core_data_import/crm_core_data_import.module
Implements hook_menu().


modules/crm_core_data_import/, line 1070
Configuration pages for CRM Core Data Import.


function crm_core_data_import_delete_page($form, &$form_state, $importer_id) {
  $importer = crm_core_data_import_load_importer($importer_id);
  $form_state['importer'] = $importer;
  return confirm_form($form, t('Are you sure you want to delete data import task %title?', array(
    '%title' => $importer->title,
  )), 'admin/structure/crm-core/data-import', t('This action cannot be undone.'), t('Delete'), t('Cancel'));