You are here

function commerce_line_item_rules_access in Commerce Core 7

Rules integration access callback.

File

modules/line_item/commerce_line_item.rules.inc, line 14
Rules integration for line items.

Code

function commerce_line_item_rules_access($type, $name) {
  if ($type == 'event' || $type == 'condition') {
    return TRUE;
  }
}