You are here

function onepixelout_menu in SWF Tools 6

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

Implementation of hook_menu().

File

onepixelout/onepixelout.module, line 41

Code

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

  //$items['admin/media/swf/onepixelout'] = array(
  $items['admin/settings/swftools/onepixelout'] = array(
    'title' => '1 Pixel Out',
    'description' => 'Settings for ' . l('1 Pixel Out MP3 Player', 'http://www.1pixelout.net/code/audio-player-wordpress-plugin/') . '.',
    'access arguments' => array(
      'administer flash',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'onepixelout_admin_form',
    ),
    'file' => 'onepixelout.admin.inc',
    'file path' => drupal_get_path('module', 'onepixelout'),
  );
  return $items;
}