You are here

function user_expire_menu in User Expire 7

Implements hook_menu().

File

./user_expire.module, line 10
Main module file for User expire module.

Code

function user_expire_menu() {
  $items = array();
  $items['admin/config/people/user-expire'] = array(
    'title' => 'User expire',
    'description' => 'Configure User expire module',
    'page callback' => 'user_expire_settings_page',
    'access arguments' => array(
      'administer user expire settings',
    ),
    'file' => 'user_expire.admin.inc',
  );
  $items['admin/reports/expiring-users'] = array(
    'title' => 'Expiring users',
    'description' => 'View a list of users with an expiration date.',
    'page callback' => 'user_expire_report',
    'access arguments' => array(
      'view expiring users report',
    ),
    'file' => 'user_expire.admin.inc',
  );
  return $items;
}