You are here

function asset_bonus_menu in Asset 6

Same name in this branch
  1. 6 asset_bonus/asset_bonus.module \asset_bonus_menu()
  2. 6 contrib/asset_bonus/asset_bonus.module \asset_bonus_menu()
Same name and namespace in other branches
  1. 5.2 contrib/asset_bonus/asset_bonus.module \asset_bonus_menu()
  2. 5 asset_bonus/asset_bonus.module \asset_bonus_menu()

File

asset_bonus/asset_bonus.module, line 33

Code

function asset_bonus_menu() {
  $items = array();
  $items['admin/settings/asset/asset_bonus'] = array(
    'title' => t('Asset Bonus'),
    'access arguments' => array(
      'administer assets',
    ),
    'page callback' => 'asset_bonus_admin_overview',
    'type' => MENU_LOCAL_TASK,
    'weight' => 1,
  );
  $items['admin/settings/asset/asset_bonus/overview'] = array(
    'type' => MENU_DEFAULT_LOCAL_TASK,
    'title' => t('Overview'),
    'access arguments' => array(
      'administer assets',
    ),
    'page callback' => 'asset_bonus_admin_overview',
  );
  $items['admin/settings/asset/asset_bonus/mp3player'] = array(
    'type' => MENU_LOCAL_TASK,
    'title' => t('mp3 Player'),
    'access arguments' => array(
      'administer assets',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'asset_bonus_admin_mp3player',
    ),
    'weight' => 1,
  );
  return $items;
}