You are here

function commerce_file_license_log_wrapper in Commerce File 7

Return wrapper object for a given license

File

includes/commerce_file.entities.inc, line 1285
Handles file licenses and file license logs

Code

function commerce_file_license_log_wrapper($entity) {
  return entity_metadata_wrapper(COMMERCE_FILE_LICENSE_LOG_ENTITY_NAME, $entity);
}