function jquery_countdown_install in jQuery Countdown 7
Same name and namespace in other branches
- 7.2 jquery_countdown.install \jquery_countdown_install()
Implementation of hook_install().
File
- ./
jquery_countdown.install, line 14 - jQuery Countdown install file.
Code
function jquery_countdown_install() {
variable_set('jquery_countdown_event_name', '');
variable_set('jquery_countdown_target', '');
variable_set('jquery_countdown_exp_txt', '');
variable_set('jquery_countdown_msg_format', '%days %hours %minutes %seconds');
drupal_set_message(t('jQuery Countdown has been installed successfully. <a href="!link">Click here</a> for configurations!', array(
'!link' => url('admin/config/user-interface/jquery-countdown'),
)));
}