You are here

function regcode_mailer_menu in Registration codes 6

Implementation of hook_menu().

File

regcode_mailer/regcode_mailer.module, line 23

Code

function regcode_mailer_menu() {
  $items = array();
  $items['admin/user/regcodes/mail'] = array(
    'title' => 'Mail',
    'description' => 'Mail registration codes to users',
    'page callback' => 'drupal_get_form',
    'file' => '../regcode.admin.php',
    'page arguments' => array(
      'regcode_mailer_admin_list_form',
    ),
    'type' => MENU_LOCAL_TASK,
    'access arguments' => array(
      'administer registration codes',
    ),
    'weight' => 100,
  );
  return $items;
}