function genericplayers_menu in SWF Tools 6
Same name and namespace in other branches
- 5 genericplayers.module \genericplayers_menu()
- 6.2 genericplayers.module \genericplayers_menu()
Implementation of hook_menu(). Items such as access control is set by swftools automatically This is not a "true" hook, but the contents returned by this function are merged with swftools_menu to provide the complete menu structure for SWF Tools
1 call to genericplayers_menu()
- swftools_menu in ./
swftools.module - Implementation of hook_menu().
File
- ./
genericplayers.module, line 54
Code
function genericplayers_menu() {
$items = array();
//$items['admin/media/swf/generic'] = array(
$items['admin/settings/swftools/generic'] = array(
'title' => 'Generic players',
'description' => 'Basic Flash players that ship with SWF Tools',
'access arguments' => array(
'administer flash',
),
'weight' => -1,
'page callback' => 'drupal_get_form',
'page arguments' => array(
'swftools_admin_generic_form',
),
);
return $items;
}