function simpleviewer_menu in SWF Tools 6
Same name and namespace in other branches
- 5 simpleviewer/simpleviewer.module \simpleviewer_menu()
- 6.2 simpleviewer/simpleviewer.module \simpleviewer_menu()
Implementation of hook_menu().
File
- simpleviewer/
simpleviewer.module, line 40
Code
function simpleviewer_menu() {
$items = array();
$items['admin/settings/swftools/simpleviewer'] = array(
'title' => 'SimpleViewer',
'description' => 'Settings for <a href="http://www.airtightinteractive.com/simpleviewer/">Airtight Interactive\'s SimpleViewer</a> image gallery.',
'weight' => 1,
'access arguments' => array(
'administer flash',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'simpleviewer_admin_form',
),
'file' => 'simpleviewer.admin.inc',
'file path' => drupal_get_path('module', 'simpleviewer'),
);
return $items;
}