You are here

function og_menu_single_install in OG Menu Single 7

Implements hook_install().

File

./og_menu_single.install, line 11
Install hooks for OG menu single.

Code

function og_menu_single_install() {
  module_load_include('module', 'og_menu_single');
  $t = get_t();
  $menu = array(
    'menu_name' => OG_MENU_SINGLE_MENU_NAME,
    'title' => $t('OG menu'),
    'description' => $t('Contains all the links for organic groups and their menus'),
  );
  menu_save($menu);
}