You are here

function site_status_message_menu in Site Status Message 7

Implements hook_page_menu().

File

./site_status_message.module, line 43
Site Status Message provides a configurable page top message.

Code

function site_status_message_menu() {
  $items = array();
  $items['admin/config/system/site-status-message'] = array(
    'title' => 'Site Status Message',
    'description' => 'Configure settings for the Site Status Message.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'site_status_message_settings',
    ),
    'access arguments' => array(
      'administer site status message',
    ),
    'type' => MENU_NORMAL_ITEM,
    'weight' => 50,
    'file' => 'site_status_message.admin.inc',
  );
  return $items;
}