function getdirections_enable in Get Directions 7.3
Same name and namespace in other branches
- 7.2 getdirections.install \getdirections_enable()
Implements hook_enable().
File
- ./
getdirections.install, line 29 - getdirections module installation.
Code
function getdirections_enable() {
if (drupal_is_cli()) {
return;
}
if (isset($_GET) && $_GET['q'] == 'admin/modules' || isset($_REQUEST['overlay']) && $_REQUEST['overlay'] == 'admin/modules') {
drupal_set_message(st('Thank you for installing Getdirections. To set it up please visit the <a href="@url">configuration page</a>.', array(
'@url' => url('admin/config/services/getdirections'),
)), 'status');
}
}