You are here

function commerce_price_theme in Commerce Core 7

Same name and namespace in other branches
  1. 8.2 modules/price/commerce_price.module \commerce_price_theme()

Implements hook_theme().

File

modules/price/commerce_price.module, line 38
Defines the Price field with widgets and formatters used to add prices with currency codes to various Commerce entities.

Code

function commerce_price_theme() {
  return array(
    'commerce_price_formatted_components' => array(
      'variables' => array(
        'components' => array(),
        'price' => array(),
      ),
    ),
  );
}