You are here

function flowplayer_menu in SWF Tools 6

Same name and namespace in other branches
  1. 5 flowplayer/flowplayer.module \flowplayer_menu()
  2. 6.2 flowplayer/flowplayer.module \flowplayer_menu()

Implementation of hook_menu().

File

flowplayer/flowplayer.module, line 53

Code

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

  //$items['admin/media/swf/flowplayer'] = array(
  $items['admin/settings/swftools/flowplayer'] = array(
    'title' => 'FlowPlayer',
    'description' => 'Settings for ' . l('FlowPlayer', FLOWPLAYER_DOWNLOAD) . '.',
    'access arguments' => array(
      'administer flash',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'flowplayer_admin_form',
    ),
    'file' => 'flowplayer.admin.inc',
    'file path' => drupal_get_path('module', 'flowplayer'),
  );
  return $items;
}