You are here

function commerce_coupon_date_inline_conditions_info in Commerce Coupon 7.2

Implements hook_inline_conditions_info.

File

modules/date/commerce_coupon_date.module, line 6

Code

function commerce_coupon_date_inline_conditions_info() {
  $conditions['commerce_coupon_date_evaluate_date'] = array(
    'label' => t('Date range'),
    'entity type' => 'commerce_coupon',
    'callbacks' => array(
      'configure' => 'commerce_coupon_date_evaluate_date_configure',
      'build' => 'commerce_coupon_date_evaluate_date_build',
    ),
  );
  return $conditions;
}