function tft_og_menu in Taxonomy File Tree 7.2
Implements hook_menu().
File
- modules/
tft_og/ tft_og.module, line 11 - Hook implementations for TFT OG.
Code
function tft_og_menu() {
$menu = array(
'og/%/tft' => array(
'page callback' => 'tft_og_d6_redirect',
'page arguments' => array(
1,
),
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
),
'node/%/tft' => array(
'title' => "Files",
'access callback' => 'og_user_access',
'access arguments' => array(
'node',
1,
TFT_PERM__ACCESS_FULL_TREE,
),
'page callback' => 'tft_og',
'page arguments' => array(
1,
),
'type' => MENU_CALLBACK,
),
);
return $menu;
}