commerce_alphabank_redirect-1.0.1/commerce_alphabank_redirect.api.php
commerce_alphabank_redirect.api.php
<?php
// phpcs:ignoreFile
/**
* Change the predefined phone field of the billing profile.
*
* @param string $field_name
* The field name to use for IRIS.
*/
function hook_commerce_alphabank_redirect_billing_phone_field_alter(&$field_name) {
// Use field_mobile instead of the default field_phone.
$field_name = 'field_mobile';
}
