You are here

function uc_set_address_format in Ubercart 5

Same name and namespace in other branches
  1. 6.2 uc_store/uc_store.module \uc_set_address_format()
  2. 7.3 uc_store/uc_store.module \uc_set_address_format()

Save the address format for a country.

File

uc_store/uc_store.module, line 1984
Contains global Ubercart functions and store administration functionality.

Code

function uc_set_address_format($country_id, $format) {
  variable_set('uc_address_format_' . intval($country_id), $format);
}