You are here

function uc_form_alter in Ubercart 7.3

Same name and namespace in other branches
  1. 8.4 uc_store/uc_store.module \uc_form_alter()
  2. 6.2 uc_store/uc_store.module \uc_form_alter()

Executes hook_uc_form_alter() implementations.

API function to invoke hook_uc_form_alter() implementations allowing those modules to alter the form before the Drupal layer hook_form_alter() is invoked.

See also

hook_uc_form_alter()

5 calls to uc_form_alter()
uc_catalog_buy_it_now_form in uc_product/uc_product.module
Form builder for uc_catalog_buy_it_now_form().
uc_order_add_product_form in uc_order/uc_order.order_pane.inc
Sets the quantity and attributes of a product added to the order.
uc_product_add_to_cart_form in uc_product/uc_product.module
Form to add the $node product to the cart.
uc_product_kit_add_to_cart_form in uc_product_kit/uc_product_kit.module
Lets the cart know how many of which products are included in a kit.
uc_product_kit_buy_it_now_form in uc_product_kit/uc_product_kit.module
Add-to-cart button with any extra fields.
1 string reference to 'uc_form_alter'
uc_attribute_module_implements_alter in uc_attribute/uc_attribute.module
Implements hook_module_implements_alter().

File

uc_store/uc_store.module, line 1907
Contains global Ubercart functions and store administration functionality.

Code

function uc_form_alter(&$form, &$form_state, $form_id) {
  drupal_alter('uc_form', $form, $form_state, $form_id);
}