function tipsy_install in Tipsy 7
Same name and namespace in other branches
- 8 tipsy.install \tipsy_install()
Implements hook_install().
File
- ./
tipsy.install, line 11 - Install, update and uninstall functions for the tipsy module.
Code
function tipsy_install() {
db_update('system')
->fields(array(
'weight' => 999,
))
->condition('name', 'tipsy')
->execute();
drupal_set_message(t('Tipsy has been successfully installed. Visit the <a href=@href>settings page</a> for tooltips of your choice.', array(
'@href' => base_path() . 'admin/config/user-interface/tipsy',
)));
}