function fb_canvas_menu in Drupal for Facebook 7.3
Same name and namespace in other branches
- 6.3 fb_canvas.module \fb_canvas_menu()
- 6.2 fb_canvas.module \fb_canvas_menu()
Implements hook_menu().
File
- ./
fb_canvas.module, line 24 - This module provides support for Canvas page applications. Use Drupal to power traditional Facebook Apps.
Code
function fb_canvas_menu() {
$items = array();
// Admin pages
$items[FB_PATH_ADMIN . '/fb_canvas'] = array(
'title' => 'Canvas Pages',
'description' => 'Configure Canvas Pages',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'fb_canvas_admin_settings',
),
'access arguments' => array(
FB_PERM_ADMINISTER,
),
'file' => 'fb_canvas.admin.inc',
'type' => MENU_LOCAL_TASK,
);
return $items;
}