function flash_menu in Flash Node 5
Implementation of hook_menu
File
- ./
flash.module, line 89
Code
function flash_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'node/add/flash',
'title' => t('Flash'),
'access' => user_access('create flash'),
);
$items[] = array(
'path' => 'admin/settings/flash',
'title' => 'Flash node settings',
'callback' => 'drupal_get_form',
'callback arguments' => array(
'flash_admin_settings',
),
'access' => user_access('administer flash'),
'type' => MENU_NORMAL_ITEM,
'description' => t('Tell Drupal where to store Flash files, and specify the default minimum Flash player version.'),
);
}
return $items;
}