function mediafront_menu in MediaFront 6.2
Same name and namespace in other branches
- 6 mediafront.module \mediafront_menu()
- 7.2 mediafront.module \mediafront_menu()
- 7 mediafront.module \mediafront_menu()
Implements hook_menu().
File
- ./
mediafront.module, line 19
Code
function mediafront_menu() {
$items['mediafront_getplaylist'] = array(
'page callback' => 'mediafront_get_playlist_json',
'type' => MENU_CALLBACK,
'page arguments' => array(
1,
2,
3,
4,
),
'access arguments' => array(
'access content',
),
);
$items['mediafront_getnode'] = array(
'page callback' => 'mediafront_get_node_json',
'type' => MENU_CALLBACK,
'page arguments' => array(
1,
2,
),
'access arguments' => array(
'access content',
),
);
$items = array_merge($items, mediafront_preset_menu());
return $items;
}