You are here

function fb_test_menu in Drupal for Facebook 6.3

Same name and namespace in other branches
  1. 7.3 contrib/fb_test.module \fb_test_menu()

@file

http://developers.facebook.com/docs/test_users

File

contrib/fb_test.module, line 8
http://developers.facebook.com/docs/test_users

Code

function fb_test_menu() {

  // Admin pages
  // Register Users config page.
  $items[FB_PATH_ADMIN_APPS . '/%fb/fb_test'] = array(
    'title' => 'Test Accounts',
    'page callback' => 'fb_test_detail_page',
    'page arguments' => array(
      FB_PATH_ADMIN_APPS_ARGS,
    ),
    'access arguments' => array(
      FB_PERM_ADMINISTER,
    ),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}