You are here

function imagerotator_menu in SWF Tools 6

Same name and namespace in other branches
  1. 6.2 imagerotator/imagerotator.module \imagerotator_menu()

Implementation of hook_menu().

File

imagerotator/imagerotator.module, line 41

Code

function imagerotator_menu() {
  $items = array();

  //$items['admin/media/swf/imagerotator'] = array(
  $items['admin/settings/swftools/imagerotator'] = array(
    'title' => 'JW Image Rotator 3',
    'description' => 'Plug-in for ' . l('Jeroen Wijering\'s Image Rotator 3', IMAGEROTATOR_DOWNLOAD) . '.',
    'access arguments' => array(
      'administer flash',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'imagerotator_admin_form',
    ),
    'file' => 'imagerotator.admin.inc',
    'file path' => drupal_get_path('module', 'imagerotator'),
  );
  return $items;
}