You are here

function backup_migrate_prune_delete_gardener in Backup and migrate prune 7

Same name and namespace in other branches
  1. 7.2 backup_migrate_prune.module \backup_migrate_prune_delete_gardener()
1 string reference to 'backup_migrate_prune_delete_gardener'
backup_migrate_prune_menu in ./backup_migrate_prune.module
Implementation of hook_menu().

File

./backup_migrate_prune.module, line 323
Create (manually or scheduled) and restore backups of your Drupal MySQL database with an option to exclude table data (e.g. cache_*)

Code

function backup_migrate_prune_delete_gardener($form, &$form_state, $gardener_id) {
  $form['gardener_id'] = array(
    '#type' => 'hidden',
    '#value' => $gardener_id,
  );
  $form = confirm_form($form, t('Are you sure you want to delete this gardener?'), BACKUP_MIGRATE_MENU_PATH . '/prune/list');
  return $form;
}