You are here

function onepixelout_menu in SWF Tools 5

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

Implementation of hook_menu().

File

onepixelout/onepixelout.module, line 40

Code

function onepixelout_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/media/swf/onepixelout',
      'title' => t('1 Pixel Out'),
      'callback' => 'drupal_get_form',
      'callback arguments' => 'onepixelout_admin_form',
      'description' => 'Settings for ' . l('1 Pixel Out MP3 Player', 'http://www.1pixelout.net/code/audio-player-wordpress-plugin/') . '.',
    );
  }
  return $items;
}