You are here

function suggestion_install in Autocomplete Search Suggestions 7

Implements hook_install().

File

./suggestion.install, line 25
The installation file for the suggestion module.

Code

function suggestion_install() {
  variable_set('suggestion_atoms_max', 6);
  variable_set('suggestion_atoms_min', 1);
  variable_set('suggestion_field_name', 'search_block_form');
  variable_set('suggestion_form_id', 'search_block_form');
  variable_set('suggestion_limit', 20);
  variable_set('suggestion_max', 45);
  variable_set('suggestion_min', 4);
  variable_set('suggestion_rpp', 100);
  variable_set('suggestion_stopword_hash', '');
  variable_set('suggestion_stopword_uri', file_default_scheme() . '://suggestion/suggestion_stopword.txt');
  variable_set('suggestion_synced', TRUE);
  variable_set('suggestion_types', array());
}