You are here

function product_price_alterer_field_theme in Ubercart Discounts (Alternative) 7.2

Same name and namespace in other branches
  1. 6.2 product_price_alterer_field/product_price_alterer_field.module \product_price_alterer_field_theme()

Implementation of hook_theme().

File

product_price_alterer_field/product_price_alterer_field.module, line 100
Provides discounts based on ubercart products based on product quantity purchased using attached product field.

Code

function product_price_alterer_field_theme() {
  return array(
    "product_price_alterer_field_formatter_default" => array(
      "arguments" => array(
        "element" => NULL,
      ),
    ),
    "product_discounted_price" => array(
      "arguments" => array(
        "product",
        "discounted_price",
      ),
    ),
  );
}