function commerce_file_license_create in Commerce File 7
Create a commerce_file_license
1 call to commerce_file_license_create()
- commerce_file_license_issue_by_commerce_line_item in includes/
commerce_file.entities.inc - Issue licenses for files in a line item
File
- includes/
commerce_file.entities.inc, line 78 - Handles file licenses and file license logs
Code
function commerce_file_license_create($values = array()) {
return entity_get_controller(COMMERCE_FILE_LICENSE_ENTITY_NAME)
->create($values);
}