You are here

function search_files_settings in Search Files 5

Same name and namespace in other branches
  1. 6.2 search_files.module \search_files_settings()

generate the settings form for the search_files module using the system_settings_form()funciton

Return value

unknown

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

File

./search_files.module, line 652
Used to index all files in directory(s) on the server

Code

function search_files_settings() {
  $form = array();
  $form['search_files_label'] = array(
    '#title' => 'Search Label',
    '#type' => 'textfield',
    '#description' => 'What do you want the Search tab to be labeled?',
    '#default_value' => variable_get('search_files_label', 'Server Files'),
  );
  return system_settings_form($form);
}