function hook_commerce_physical_customer_profile_residential_alter in Commerce Physical Product 7
Allows modules to specify a different residential status for the given customer profile than the one determined by Commerce Physical Product.
Parameters
&$residential: Boolean indicating whether or not the given customer profile has been determined to contain a residential address.
$profile: The customer profile whose residential status is being determined.
See also
commerce_physical_customer_profile_residential()
1 invocation of hook_commerce_physical_customer_profile_residential_alter()
- commerce_physical_customer_profile_residential in ./
commerce_physical.module - Whether or not a shipping customer profile is a residential address.
File
- ./
commerce_physical.api.php, line 195 - Hooks provided by the Commerce Physical Product module.
Code
function hook_commerce_physical_customer_profile_residential_alter(&$residential, $profile) {
// No example.
}