You are here

public function CommerceFileLicenseEntity::get_file_entity in Commerce File 7

File Entity

  • Read Only

File

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

Class

CommerceFileLicenseEntity
A Commerce File License entity class.

Code

public function get_file_entity() {
  $item = $this
    ->get_file();
  return isset($item['fid']) ? file_load($item['fid']) : NULL;
}