You are here

public function CommerceFileLicenseEntity::get_logs in Commerce File 7

1 call to CommerceFileLicenseEntity::get_logs()
CommerceFileLicenseEntity::get_addresses in includes/commerce_file_license.entity.inc

File

includes/commerce_file_license.entity.inc, line 780
Provides a base class for CommerceFileLicenseEntity.

Class

CommerceFileLicenseEntity
A Commerce File License entity class.

Code

public function get_logs() {
  $id = $this
    ->internalIdentifier();
  if (!empty($id)) {
    return commerce_file_license_log_load_multiple(FALSE, array(
      $this->idKey => $id,
    ));
  }
  return array();
}