You are here

function flowplayer_menu in Flowplayer API 5

Same name and namespace in other branches
  1. 6 flowplayer.module \flowplayer_menu()
  2. 7.2 flowplayer.module \flowplayer_menu()
  3. 7 flowplayer.module \flowplayer_menu()

Implementation of hook_menu().

File

./flowplayer.module, line 162

Code

function flowplayer_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/flowplayer',
      'title' => 'Flowplayer',
      'callback' => 'drupal_get_form',
      'description' => 'Manage how Flowplayer is used on your site.',
      'access' => user_access('administer site configuration'),
      'callback arguments' => array(
        'flowplayer_admin_settings',
      ),
    );
  }
  return $items;
}