You are here

function _spaces_install_menu in Spaces 6

Create menu. See menu.install for an example.

2 calls to _spaces_install_menu()
spaces_install in ./spaces.install
Implementaton of hook_install().
spaces_update_6001 in ./spaces.install
Update script 6001.

File

./spaces.install, line 184

Code

function _spaces_install_menu() {
  $t = get_t();
  db_query("INSERT INTO {menu_custom} (menu_name, title, description) VALUES ('%s', '%s', '%s')", 'spaces', $t('Spaces'), $t('Spaces features menu.'));
}