function fb_stream_menu in Drupal for Facebook 6.3
Same name and namespace in other branches
- 7.3 fb_stream.module \fb_stream_menu()
Implements hook_menu().
File
- ./
fb_stream.module, line 24 - Support for Facebook's Stream API.
Code
function fb_stream_menu() {
$items = array();
$items[FB_PATH_ADMIN . '/fb_stream'] = array(
'title' => 'Stream Posts',
'access arguments' => array(
FB_PERM_ADMINISTER,
),
'weight' => -1,
'type' => MENU_LOCAL_TASK,
'page callback' => 'drupal_get_form',
'page arguments' => array(
'fb_stream_admin_settings',
),
'file' => 'fb_stream.admin.inc',
);
return $items;
}