public function CommerceFileLicenseEntity::is_active in Commerce File 7
Returns true if license is in the active status
File
- includes/
commerce_file_license.entity.inc, line 177 - Provides a base class for CommerceFileLicenseEntity.
Class
- CommerceFileLicenseEntity
- A Commerce File License entity class.
Code
public function is_active() {
return $this->status == 'active';
}