You are here

function lockr_menu in Lockr 7

Same name and namespace in other branches
  1. 7.3 lockr.module \lockr_menu()
  2. 7.2 lockr.module \lockr_menu()

Implements hook_menu().

File

./lockr.module, line 42
Hook implementations and callbacks for lockr.

Code

function lockr_menu() {
  $items = array();
  $items['admin/config/system/lockr'] = array(
    'title' => t('Lockr'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'lockr_admin_form',
    ),
    'access arguments' => array(
      'administer keys',
    ),
    'file' => 'lockr.admin.inc',
  );
  $items['admin/config/system/lockr/login'] = array(
    'title' => t('Login to Lockr'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'lockr_login_form',
    ),
    'access arguments' => array(
      'administer keys',
    ),
    'file' => 'lockr.login.inc',
  );
  return $items;
}