function uc_addresses_field_set in Ubercart Addresses 7
Entity API setter callback for an address field.
Parameters
UcAddressesAddress $address: An address object.
string $name: The name of the field to set.
mixed $value: The value the field should be set to.
Return value
mixed The return value depends on the class that's being used. UcAddressesAddress and UcAddressesSchemaAddress return void.
1 string reference to 'uc_addresses_field_set'
File
- ./
uc_addresses.module, line 614 - Adds user profile address support to Ubercart.
Code
function uc_addresses_field_set(UcAddressesAddress $address, $name, $value) {
return $address
->setField($name, $value);
}