function jw_player_menu in JW Player 7
Same name and namespace in other branches
- 7.2 jw_player.module \jw_player_menu()
Implements hook_menu().
File
- ./
jw_player.module, line 10 - Adds a theme function which allows theme developers to use the JW Player.
Code
function jw_player_menu() {
$items['admin/config/media/jw_player/settings'] = array(
'title' => 'Settings',
'description' => 'JW Player general settings',
'type' => MENU_LOCAL_TASK,
'access arguments' => array(
'administer JW Player presets',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'jw_player_settings_form',
),
'file' => 'jw_player.admin.inc',
);
return $items;
}