You are here

function search_files_helper_confirm_delete in Search Files 6.2

Same name and namespace in other branches
  1. 5 search_files.module \search_files_helper_confirm_delete()

check to make sure the $helper_id is valid (a number greater than zero) then it fetches the deletion confirmation form, then returns it

Return value

(array) $form

1 string reference to 'search_files_helper_confirm_delete'
search_files_menu in ./search_files.module
Implementation of hook_menu().

File

./search_files.module, line 223
Used to index files in attachments and directories

Code

function search_files_helper_confirm_delete() {
  $helper_id = arg(5);
  if ($helper_id > 0 && is_numeric($helper_id)) {
    return drupal_get_form('search_files_helper_confirm_delete_form', $helper_id);
  }
}