You are here

function invite_by_email_menu in Invite 7.4

Implements hook_menu().

File

modules/invite_by_email/invite_by_email.module, line 11
Main file for Invite by e-mail.

Code

function invite_by_email_menu() {
  $items['admin/config/people/invite/by_mail'] = array(
    'title' => 'Invite by mail',
    'description' => 'Modify invitation by mail settings.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'invite_by_email_settings_form',
    ),
    'access arguments' => array(
      'administer invitations',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 10,
    'file' => 'invite_by_email.admin.inc',
  );
  return $items;
}