You are here

function commerce_product_hook_info in Commerce Core 7

Implements hook_hook_info().

File

modules/product/commerce_product.module, line 29
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_hook_info() {
  $hooks = array(
    'commerce_product_type_info' => array(
      'group' => 'commerce',
    ),
    'commerce_product_type_info_alter' => array(
      'group' => 'commerce',
    ),
    'commerce_product_type_insert' => array(
      'group' => 'commerce',
    ),
    'commerce_product_type_update' => array(
      'group' => 'commerce',
    ),
    'commerce_product_type_delete' => array(
      'group' => 'commerce',
    ),
    'commerce_product_uri' => array(
      'group' => 'commerce',
    ),
    'commerce_product_view' => array(
      'group' => 'commerce',
    ),
    'commerce_product_presave' => array(
      'group' => 'commerce',
    ),
    'commerce_product_insert' => array(
      'group' => 'commerce',
    ),
    'commerce_product_update' => array(
      'group' => 'commerce',
    ),
    'commerce_product_can_delete' => array(
      'group' => 'commerce',
    ),
    'commerce_product_delete' => array(
      'group' => 'commerce',
    ),
  );
  return $hooks;
}