You are here

function flowplayer_menu in SWF Tools 5

Same name and namespace in other branches
  1. 6 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($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/media/swf/flowplayer',
      'title' => t('FlowPlayer'),
      'description' => 'Settings for ' . l('FlowPlayer', FLOWPLAYER_DOWNLOAD) . '.',
      'callback' => 'drupal_get_form',
      'callback arguments' => 'flowplayer_admin_form',
    );
  }
  return $items;
}