function accountmenu_install in Account menu 6
Same name and namespace in other branches
- 7 accountmenu.install \accountmenu_install()
Implements hook_install.
File
- ./
accountmenu.install, line 10 - accountmenu.install accountmenu module install/uninstall
Code
function accountmenu_install() {
$t = get_t();
db_query("INSERT INTO {menu_custom} (menu_name, title, description) VALUES ('%s', '%s', '%s')", 'accountmenu', $t('Account menu'), $t('Account menu links.'));
include_once 'accountmenu.module';
_accountmenu_setup_menu();
drupal_set_message($t('Account menu is installed, go to <a href="@help">help</a> for instructions.', array(
'@help' => url('admin/help/accountmenu'),
)), 'status');
}