function homebox_admin_flush_form in Homebox 7.3
Same name and namespace in other branches
- 6.3 homebox.admin.inc \homebox_admin_flush_form()
- 6.2 homebox.admin.inc \homebox_admin_flush_form()
- 7.2 homebox.admin.inc \homebox_admin_flush_form()
Provide form to flush user settings for a given page
1 string reference to 'homebox_admin_flush_form'
- homebox_menu in ./
homebox.module - Implements hook_menu().
File
- ./
homebox.admin.inc, line 602 - Homebox admin file, takes care admin interface for homebox
Code
function homebox_admin_flush_form($form, &$form_state, $page) {
$form['name'] = array(
'#type' => 'value',
'#value' => check_plain($page->name),
);
$form = confirm_form($form, t('Are you sure you want to flush user settings for !name?', array(
'!name' => $page->name,
)), 'admin/structure/homebox', t('Executing this action will delete all user\'s settings for this page'), t('Flush settings'));
return $form;
}