You are here

function search_log_confirm_truncate in Search Log 6

Same name and namespace in other branches
  1. 7 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
Implementation of hook_menu().

File

./search_log.admin.inc, line 91
Admin page callbacks file for the search_log module.

Code

function search_log_confirm_truncate(&$form_state) {
  $form = array();
  return confirm_form($form, t('Are you sure you want to clear the Search log?'), 'admin/settings/search/search_log', t('This action cannot be undone.'), t('Clear'), t('Cancel'));
}