You are here

function commerce_file_license_rules_action_log_download in Commerce File 7

Rules action: Log a licensed file download

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

File

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

Code

function commerce_file_license_rules_action_log_download($license) {
  $license
    ->log();
}