function commerce_price_hook_info in Commerce Core 7
Implements hook_hook_info().
File
- modules/
price/ commerce_price.module, line 13 - Defines the Price field with widgets and formatters used to add prices with currency codes to various Commerce entities.
Code
function commerce_price_hook_info() {
$hooks = array(
'commerce_price_field_calculation_options' => array(
'group' => 'commerce',
),
'commerce_price_component_type_info' => array(
'group' => 'commerce',
),
'commerce_price_component_type_info_alter' => array(
'group' => 'commerce',
),
'commerce_price_field_formatter_prepare_view' => array(
'group' => 'commerce',
),
'commerce_price_formatted_components_alter' => array(
'group' => 'commerce',
),
);
return $hooks;
}