You are here

public function CommerceFileLicenseLogEntity::license in Commerce File 7

License

File

includes/commerce_file_license_log.entity.inc, line 88
Provides a base class for CommreceFileLicenseLogEntity.

Class

CommerceFileLicenseLogEntity
A Commerce File License Log entity class.

Code

public function license() {
  if (isset($this->license_id)) {
    return commerce_file_license_load($this->license_id);
  }
  return NULL;
}