function webmaster_menu_install in Webmaster menu 7
Implements hook_install().
File
- ./
webmaster_menu.install, line 10 - Install functions for the webmaster_menu module
Code
function webmaster_menu_install() {
// Increase the wait to come after overlay
/*
db_update('system')
->fields(array(
'weight' => 1,
))
->condition('type', 'module')
->condition('name', 'webmaster_menu')
->execute();
*/
// Tell user that the module was installed and how to configure it.
$t = get_t();
$link = l($t('Administration > Configuration > Webmaster menu'), 'admin/config/webmaster_menu');
$text = $t("Webmaster menu was installed. It can be configured here: " . $link);
drupal_set_message(filter_xss_admin($text));
}