public function CommerceFileLicenseEntity::get_duration in Commerce File 7
Duration
1 call to CommerceFileLicenseEntity::get_duration()
- CommerceFileLicenseEntity::get_expiration in includes/
commerce_file_license.entity.inc - Expiration
File
- includes/
commerce_file_license.entity.inc, line 736 - Provides a base class for CommerceFileLicenseEntity.
Class
- CommerceFileLicenseEntity
- A Commerce File License entity class.
Code
public function get_duration() {
$limits = $this
->get_limits();
if (isset($limits['duration'])) {
return $limits['duration'];
}
}