You are here

function front_page_menu in Front Page 6

Same name and namespace in other branches
  1. 5 front_page.module \front_page_menu()
  2. 6.2 front_page.module \front_page_menu()
  3. 7.2 front_page.module \front_page_menu()
  4. 7 front_page.module \front_page_menu()

Implementation of hook_menu().

File

./front_page.module, line 37

Code

function front_page_menu() {
  $items['admin/settings/front'] = array(
    'title' => 'Front page',
    '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 frontpage',
    ),
  );
  $items['front_page'] = array(
    'title' => '',
    'page callback' => 'front_page',
    'access arguments' => array(
      'access frontpage',
    ),
    'type' => MENU_SUGGESTED_ITEM,
  );
  return $items;
}