You are here

function single_page_site_menu in Single Page Site 7

Implements hook_menu().

File

./single_page_site.module, line 38

Code

function single_page_site_menu() {
  $items = array();
  $items['single-page-site'] = array(
    'title' => 'Single Page Website',
    'page callback' => 'single_page_site_callback',
    'access arguments' => array(
      'view single page site',
    ),
    'file' => 'includes/single_page_site.callback.inc',
  );
  $items['admin/config/system/single-page-site'] = array(
    'title' => 'Single Page Site Settings',
    'description' => 'Configure menu\'s and classes etc.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'single_page_site_settings_form',
    ),
    'access arguments' => array(
      'administer single page site',
    ),
    'file' => 'includes/single_page_site.admin.inc',
  );
  return $items;
}