You are here

function commerce_file_license_rules_action_allow_download in Commerce File 7

Rules action: Allow a licensed file download

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

File

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

Code

function commerce_file_license_rules_action_allow_download($license) {
  $license->download_allowed = TRUE;
}