You are here

function popup_message_menu in Popup message 7

Same name and namespace in other branches
  1. 6 popup_message.module \popup_message_menu()

Implements hook_menu().

File

./popup_message.module, line 48
Main module file.

Code

function popup_message_menu() {
  $items = array();

  // Settings form.
  $items['admin/config/user-interface/popup_message'] = array(
    'title' => 'Popup message',
    'description' => 'Popup message configuration',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'popup_message_settings',
    ),
    'file' => 'popup_message.admin.inc',
    'access arguments' => array(
      'popup message administration',
    ),
  );
  return $items;
}