function search_log_confirm_truncate in Search Log 7
Same name and namespace in other branches
- 6 search_log.admin.inc \search_log_confirm_truncate()
Form builder; confirm form for truncate search_log table.
See also
search_log_confirm_truncate_submit()
1 string reference to 'search_log_confirm_truncate'
- search_log_menu in ./
search_log.module - Implements hook_menu().
File
- ./
search_log.admin.inc, line 100 - Admin page callbacks file for the search_log module.
Code
function search_log_confirm_truncate($form, &$form_state) {
$form = array();
return confirm_form($form, t('Are you sure you want to clear the Search log?'), 'admin/config/search/search_log', t('This action cannot be undone.'), t('Clear'), t('Cancel'));
}