You are here

function search_autocomplete_install in Search Autocomplete 8

Same name and namespace in other branches
  1. 6.4 search_autocomplete.install \search_autocomplete_install()
  2. 6.2 search_autocomplete.install \search_autocomplete_install()
  3. 7.4 search_autocomplete.install \search_autocomplete_install()
  4. 7.2 search_autocomplete.install \search_autocomplete_install()
  5. 7.3 search_autocomplete.install \search_autocomplete_install()
  6. 2.x search_autocomplete.module \search_autocomplete_install()

Implements hook_install().

Display a notice to user for cache rebuild after install.

File

./search_autocomplete.module, line 164
Provides autocompletion in any field from GUI.

Code

function search_autocomplete_install() {
  drupal_set_message(t('To finish install of Search Autocomplete, you must %clear_caches.', [
    '%clear_caches' => Link::fromTextAndUrl(t('Clear all caches'), Url::fromRoute('system.performance_settings'))
      ->toString(),
  ]));
}