You are here

function commerce_file_rules_action_order_update_state in Commerce File 7

Rules action: Update state of all licenses associated with the order

1 string reference to 'commerce_file_rules_action_order_update_state'
commerce_file_rules_action_info in ./commerce_file.rules.inc
Implements hook_rules_action_info().

File

./commerce_file.rules.inc, line 347
Provides Rules integration for entities provided via the CRUD API.

Code

function commerce_file_rules_action_order_update_state($order, $license_state = 'denied') {
  commerce_file_license_order_update_state($order, $license_state);
}