You are here

function uc_addresses_menu_link_alter in Ubercart Addresses 7

Implements hook_menu_link_alter().

File

./uc_addresses.module, line 219
Adds user profile address support to Ubercart.

Code

function uc_addresses_menu_link_alter(&$item) {

  // Make the Ubercart Addresses address formats page visible as an admin task.
  if ($item['link_path'] == 'admin/store/settings/countries/uc_addresses_formats') {
    $item['hidden'] = 0;
  }
}