function mediafront_menu in MediaFront 7
Same name and namespace in other branches
- 6.2 mediafront.module \mediafront_menu()
- 6 mediafront.module \mediafront_menu()
- 7.2 mediafront.module \mediafront_menu()
Implements hook_menu().
File
- ./
mediafront.module, line 27
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;
}