function fb_app_admin_delete_confirm_form in Drupal for Facebook 6.3
Same name and namespace in other branches
- 6.2 fb_app.admin.inc \fb_app_admin_delete_confirm_form()
- 7.3 fb_app.admin.inc \fb_app_admin_delete_confirm_form()
Form creator -- ask for confirmation of deletion
1 string reference to 'fb_app_admin_delete_confirm_form'
- fb_app_menu in ./
fb_app.module - Implementation of hook_menu().
File
- ./
fb_app.admin.inc, line 296
Code
function fb_app_admin_delete_confirm_form(&$form_state, $fb_app) {
$form['fba_id'] = array(
'#type' => 'value',
'#value' => $fb_app->fba_id,
);
return confirm_form($form, t('Are you sure you want to delete %title?', array(
'%title' => $fb_app->title,
)), isset($_GET['destination']) ? $_GET['destination'] : FB_PATH_ADMIN_APPS . '/' . $fb_app->label, t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}