You are here

function commerce_product_status_options_list in Commerce Core 7

Returns the options list for the product status property.

1 string reference to 'commerce_product_status_options_list'
commerce_product_entity_property_info in modules/product/commerce_product.info.inc
Implements hook_entity_property_info().

File

modules/product/commerce_product.module, line 1109
Defines the core Commerce product entity, including the entity itself, the bundle definitions (product types), and various API functions to manage products and interact with them through forms and autocompletes.

Code

function commerce_product_status_options_list() {
  return array(
    0 => t('Disabled'),
    1 => t('Active'),
  );
}