You are here

function messaging_mail_menu in Messaging 7

Same name and namespace in other branches
  1. 6.4 messaging_mail/messaging_mail.module \messaging_mail_menu()

Implementation of hook_menu().

File

messaging_mail/messaging_mail.module, line 12
Simple mail using Drupal API. Messaging method plug-in.

Code

function messaging_mail_menu() {
  $items['admin/config/messaging/method/mail'] = array(
    'title' => 'Mail',
    'description' => 'Common options for mail methods',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'messaging_mail_admin_settings',
    ),
    'access arguments' => array(
      'administer messaging',
    ),
    'file' => 'messaging_mail.admin.inc',
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}