You are here

function hook_commerce_physical_customer_profile_phone_number_field_name_alter in Commerce Physical Product 7

Allows modules to specify a different phone number field name for the given customer profile than the one determined by Commerce Physical Product.

Parameters

&$field_name: The name of the field instance on the customer profile that is currently specified as the field to use for the customer's phone number.

$profile: The customer profile whose phone number field is being determined.

See also

commerce_physical_customer_profile_phone_number_field_name()

1 invocation of hook_commerce_physical_customer_profile_phone_number_field_name_alter()
commerce_physical_customer_profile_phone_number_field_name in ./commerce_physical.module
Determines the name of the phone number field of a customer profile.

File

./commerce_physical.api.php, line 179
Hooks provided by the Commerce Physical Product module.

Code

function hook_commerce_physical_customer_profile_phone_number_field_name_alter(&$field_name, $profile) {

  // No example.
}