function commerce_physical_inline_conditions_info in Commerce Physical Product 7
Implements hook_inline_conditions_info().
File
- ./
commerce_physical.inline_conditions.inc, line 11 - Provides Inline Conditions integration for the Commerce Physical module.
Code
function commerce_physical_inline_conditions_info() {
$conditions = array();
$conditions['commerce_physical_rules_order_weight_comparison'] = array(
'label' => t('Total order weight'),
'entity type' => 'commerce_order',
'callbacks' => array(
'configure' => 'commerce_physical_order_weight_comparison_configure',
),
);
return $conditions;
}