You are here

function genericplayers_menu in SWF Tools 5

Same name and namespace in other branches
  1. 6 genericplayers.module \genericplayers_menu()
  2. 6.2 genericplayers.module \genericplayers_menu()

Implementation of hook_menu(). Items such as access control is set by swftools automatically

1 call to genericplayers_menu()
swftools_menu in ./swftools.module
Implementation of hook_menu().

File

./genericplayers.module, line 46

Code

function genericplayers_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/media/swf/generic',
      'title' => t('Generic Players'),
      'description' => t('Basic Flash players that ship with SWF Tools'),
      'weight' => -1,
    );
  }
  return $items;
}