function uc_attribute_form_uc_product_buy_it_now_form_alter in Ubercart 8.4
Implements hook_form_BASE_FORM_ID_alter() for uc_product_buy_it_now_form().
File
- uc_attribute/
uc_attribute.module, line 174 - Ubercart Attribute module.
Code
function uc_attribute_form_uc_product_buy_it_now_form_alter(&$form, FormStateInterface $form_state) {
$form['#validate'][] = 'uc_attribute_buy_it_now_form_validate';
}