You are here

function commerce_registration_entity_property_info_alter in Commerce Registration 7.2

Same name and namespace in other branches
  1. 7.3 commerce_registration.module \commerce_registration_entity_property_info_alter()

Implements hook_entity_property_info_alter().

File

./commerce_registration.module, line 590
Commerce Registration module code.

Code

function commerce_registration_entity_property_info_alter(&$info) {
  $info['registration']['properties']['order_id'] = array(
    'label' => t('Order ID'),
    'type' => 'integer',
    'schema field' => 'order_id',
    'setter callback' => 'entity_property_verbatim_set',
    'description' => t('The order ID associated with this registration.'),
  );
}