You are here

function regcode_ie_menu in Registration codes 7

Same name and namespace in other branches
  1. 6.2 regcode_ie/regcode_ie.module \regcode_ie_menu()
  2. 7.2 regcode_ie/regcode_ie.module \regcode_ie_menu()

Implements hook_menu().

File

regcode_ie/regcode_ie.module, line 11
Import and export functionality for regcode module.

Code

function regcode_ie_menu() {
  $items = array();
  $items['admin/config/people/regcode/import'] = array(
    'title' => 'Import',
    'description' => 'Import registration codes',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'regcode_ie_admin_import',
    ),
    'access arguments' => array(
      'administer registration codes',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 40,
  );
  return $items;
}