You are here

function commerce_file_license_log_load in Commerce File 7

Load a single commerce_file_license

Parameters

$id: A single entity ID.

Return value

An entity object.

File

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

Code

function commerce_file_license_log_load($id = NULL) {
  if (empty($id)) {
    return FALSE;
  }
  $entity = commerce_file_license_log_load_multiple(array(
    $id,
  ));
  return $entity ? reset($entity) : FALSE;
}