You are here

function fb_devel_menu in Drupal for Facebook 6.2

Same name and namespace in other branches
  1. 5.2 fb_devel.module \fb_devel_menu()
  2. 5 fb_devel.module \fb_devel_menu()
  3. 6.3 fb_devel.module \fb_devel_menu()
  4. 7.4 fb_devel.module \fb_devel_menu()
  5. 7.3 fb_devel.module \fb_devel_menu()

@file Makes development with Drupal for Facebook much easier. Keep this module enabled until you're confident your app works perfectly.

Produces warning messages and log messages when it detects something is wrong with your configuration.

Runs tests for Drupal's status page.

File

./fb_devel.module, line 15
Makes development with Drupal for Facebook much easier. Keep this module enabled until you're confident your app works perfectly.

Code

function fb_devel_menu() {
  $items['fb/devel'] = array(
    'page callback' => 'fb_devel_page',
    'type' => MENU_CALLBACK,
    'access callback' => TRUE,
  );
  $items['fb/devel/fbu'] = array(
    'page callback' => 'fb_devel_fbu_page',
    'type' => MENU_CALLBACK,
    'access callback' => TRUE,
  );

  // Return some info for debugging AHAH problems
  $items['fb/devel/js'] = array(
    'page callback' => 'fb_devel_js',
    'type' => MENU_CALLBACK,
    'access callback' => TRUE,
  );
  return $items;
}