You are here

function simpleviewer_menu in SWF Tools 5

Same name and namespace in other branches
  1. 6 simpleviewer/simpleviewer.module \simpleviewer_menu()
  2. 6.2 simpleviewer/simpleviewer.module \simpleviewer_menu()

Implementation of hook_menu().

File

simpleviewer/simpleviewer.module, line 44

Code

function simpleviewer_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/media/swf/simpleviewer',
      'title' => t('SimpleViewer'),
      'description' => t('Plug-in for <a href="http://www.airtightinteractive.com/simpleviewer/">SimpleViewer</a> image gallery'),
      'weight' => 1,
    );
  }
  return $items;
}