You are here

function search_files_attachments_settings_form in Search Files 7.2

Same name and namespace in other branches
  1. 6.2 search_files_attachments.module \search_files_attachments_settings_form()

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

1 string reference to 'search_files_attachments_settings_form'
search_files_attachments_menu in ./search_files_attachments.module
Implements hook_menu().

File

./search_files_attachments.module, line 240
Used to index files in attachments

Code

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