You are here

public function CommerceFileLicenseEntity::access in Commerce File 7

Access callback

1 call to CommerceFileLicenseEntity::access()
CommerceFileLicenseEntity::can_download in includes/commerce_file_license.entity.inc
Returns true if license can be downloaded

File

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

Class

CommerceFileLicenseEntity
A Commerce File License entity class.

Code

public function access($op = 'view', $account = NULL) {
  return entity_access($op, $this->entityType, $this, $account);
}