You are here

function _commerce_file_license_property_downloads_current in Commerce File 7

Current Callback for License downloads

2 calls to _commerce_file_license_property_downloads_current()
_commerce_file_license_property_downloads_check_access in ./commerce_file.commerce.inc
Check Callback for License downloads
_commerce_file_license_property_downloads_remaining in ./commerce_file.commerce.inc
Remaining Callback for License downloads
1 string reference to '_commerce_file_license_property_downloads_current'
commerce_file_commerce_file_license_info in ./commerce_file.commerce.inc
Implements hook_commerce_file_license_info().

File

./commerce_file.commerce.inc, line 144
Implementations of Commerce Hooks

Code

function _commerce_file_license_property_downloads_current($license) {
  return count($license->logs);
}