function uc_store_address_field_weights in Ubercart 7.3
Returns the weights of address fields.
2 calls to uc_store_address_field_weights()
- uc_store_address_fields_form in uc_store/
uc_store.admin.inc - Form to configure address fields.
- uc_store_process_address_field in uc_store/
uc_store.module - Element process hook for address fields.
File
- uc_store/
uc_store.module, line 1262 - Contains global Ubercart functions and store administration functionality.
Code
function uc_store_address_field_weights() {
return variable_get('uc_address_fields_weight', array(
'first_name' => 0,
'last_name' => 1,
'company' => 2,
'street1' => 3,
'street2' => 4,
'city' => 5,
'zone' => 6,
'country' => 7,
'postal_code' => 8,
'phone' => 9,
));
}