You are here

function currency_api_menu in Currency 5

Same name and namespace in other branches
  1. 6 currency_api/currency_api.module \currency_api_menu()
  2. 7 currency_api/currency_api.module \currency_api_menu()

File

currency_api/currency_api.module, line 16

Code

function currency_api_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/currency_api',
      'title' => t('Currency API'),
      'description' => t('Settings for currency API.'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'currency_api_admin_settings',
      ),
      'access' => user_access('administer site configuration'),
      'type' => MENU_NORMAL_ITEM,
    );
  }
  return $items;
}