You are here

function pm_email_notify_menu in Privatemsg 6

Same name and namespace in other branches
  1. 6.2 pm_email_notify/pm_email_notify.module \pm_email_notify_menu()

Implements hook_menu().

File

pm_email_notify/pm_email_notify.module, line 11
Notifies users about new Private Messages via Email.

Code

function pm_email_notify_menu() {
  $items['admin/settings/messages/notify'] = array(
    'title' => 'E-mail notify',
    'description' => 'E-mail notification settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'pm_email_notify_admin_settings_form',
    ),
    'access arguments' => array(
      'administer privatemsg settings',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 10,
  );
  return $items;
}