You are here

function absolute_messages_menu in Absolute Messages 7

Same name and namespace in other branches
  1. 6 absolute_messages.module \absolute_messages_menu()

Implements hook_menu().

File

./absolute_messages.module, line 26
Module displaying system messages in colored horizontal bars on top of the page, similar to Stack Overflow / Stack Exchange network notifications.

Code

function absolute_messages_menu() {
  $items = array();
  $items['admin/config/system/absolute_messages'] = array(
    'title' => 'Absolute Messages',
    'description' => 'Absolute Messages module settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'absolute_messages_admin_settings_form',
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer absolute messages',
    ),
    'file' => 'absolute_messages.admin.inc',
  );
  return $items;
}