function commerce_pricing_attributes_field_info in Commerce Pricing Attributes 7
Implements hook_field_info();
File
- ./
commerce_pricing_attributes.module, line 37
Code
function commerce_pricing_attributes_field_info() {
return array(
'commerce_pricing_attributes' => array(
'label' => t('Pricing Attributes'),
'description' => t('This field stores the ID of the option and the price calculation rules.'),
'settings' => array(),
'instance_settings' => array(),
'default_widget' => 'commerce_pricing_attributes_custom_widget',
'default_formatter' => 'commerce_pricing_attributes_form',
'property_type' => 'commerce_pricing_attributes',
'property_callbacks' => array(
'commerce_pricing_attributes_property_info_callback',
),
),
);
}