function addtohomescreen_enable in Add to homescreen 7
Implements hook_enable().
File
- ./
addtohomescreen.install, line 54 - Install, update and uninstall functions for the addtohomescreen module.
Code
function addtohomescreen_enable() {
drupal_set_message(t('Add to homescreen was successfully enabled. The drush command "drush addtohomescreen" is now available to automatically download the library. For manual installation instructions check <a href="@readme_url">README.txt</a>.', array(
'@readme_url' => DRUPAL_ROOT . drupal_get_path('module', 'addtohomescreen') . '/README.txt',
)));
}