You are here

function swftools_genericplayers_menu in SWF Tools 6.3

Implementation of hook_menu().

Items such as access control are set by swftools automatically. This is not a "true" hook, but the contents returned by this function are merged with swftools_menu() to provide the complete menu structure for SWF Tools.

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

File

includes/swftools.genericplayers.inc, line 49
Enables SWF Tools support for built-in generic players.

Code

function swftools_genericplayers_menu() {
  $items['admin/settings/swftools/generic'] = array(
    'title' => 'Generic players',
    'description' => 'Basic Flash players that ship with SWF Tools',
    'access arguments' => array(
      'administer flash',
    ),
    'weight' => -1,
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'swftools_admin_generic_form',
    ),
  );
  return $items;
}