function currency_menu in Currency 6
Same name and namespace in other branches
- 5 currency.module \currency_menu()
- 7.2 currency/currency.module \currency_menu()
- 7 currency.module \currency_menu()
Implementation of hook_menu().
File
- ./
currency.module, line 23 - This module provides currency exchange rates.
Code
function currency_menu() {
$items['admin/settings/currency'] = array(
'title' => 'Currency',
'description' => 'Settings for currency exchange rates.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'currency_admin_settings',
),
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_NORMAL_ITEM,
);
$items['currency'] = array(
'title' => 'Currency exchange',
'access arguments' => array(
'use currency',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'currency_form',
),
);
return $items;
}