function commons_home_menu in Drupal Commons 6.2
Implementation of hook_menu()
File
- modules/
features/ commons_home/ commons_home.module, line 8
Code
function commons_home_menu() {
$items = array();
$items['home'] = array(
'title' => 'Home',
'description' => 'The community homepage',
'type' => MENU_NORMAL_ITEM,
'weight' => 0,
'menu_name' => 'primary-links',
'page callback' => 'commons_home_homepage',
'access callback' => TRUE,
'file' => 'commons_home.pages.inc',
);
return $items;
}