You are here

function commerce_license_status_options_list in Commerce License 7

Returns a list of all possible license statuses.

1 string reference to 'commerce_license_status_options_list'
CommerceLicenseMetadataController::entityPropertyInfo in ./commerce_license.info.inc
Overrides EntityDefaultMetadataController::entityPropertyInfo().

File

./commerce_license.module, line 904
Provides a framework for selling access to local or remote resources.

Code

function commerce_license_status_options_list() {
  return array(
    COMMERCE_LICENSE_CREATED => t('Created'),
    COMMERCE_LICENSE_PENDING => t('Pending'),
    COMMERCE_LICENSE_ACTIVE => t('Active'),
    COMMERCE_LICENSE_EXPIRED => t('Expired'),
    COMMERCE_LICENSE_SUSPENDED => t('Suspended'),
    COMMERCE_LICENSE_REVOKED => t('Revoked'),
  );
}