function uc_cart_entity_info in Ubercart 7.3
Implements hook_entity_info().
File
- uc_cart/
uc_cart.module, line 1371
Code
function uc_cart_entity_info() {
return array(
'uc_cart_item' => array(
'label' => t('Cart item'),
'module' => 'uc_cart',
'base table' => 'uc_cart_products',
'controller class' => 'UcCartItemController',
'entity keys' => array(
'id' => 'cart_item_id',
),
'bundles' => array(
'uc_cart_item' => array(
'label' => t('Cart item'),
),
),
),
);
}