function front_page_menu in Front Page 7
Same name and namespace in other branches
- 5 front_page.module \front_page_menu()
- 6.2 front_page.module \front_page_menu()
- 6 front_page.module \front_page_menu()
- 7.2 front_page.module \front_page_menu()
Implements hook_menu().
File
- ./
front_page.module, line 38
Code
function front_page_menu() {
$items['admin/config/system/front'] = array(
'title' => 'Advanced front page settings',
'description' => 'Specify a unique layout or splash page based on role type - override your HOME and breadcrumb links - display a custom mission style notice for users who haven\'t visited in a while - disable site and display a \'temporarily offline\' message.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'front_page_admin',
),
'access arguments' => array(
'administer menu',
),
);
$items['front_page'] = array(
'title' => '',
'page callback' => 'front_page',
'access arguments' => array(
'access frontpage',
),
'type' => MENU_SUGGESTED_ITEM,
);
return $items;
}