forked from slashrsm/commerce_custom_product
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommerce_custom_product.api.php
49 lines (44 loc) · 1.4 KB
/
commerce_custom_product.api.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
/**
* @file
* Documents hooks provided by the Customizable Products module.
*/
/**
* Allows modules to react to the creation of a new product line item type.
*
* @param $line_item_type
* The product line item type info array.
* @param $skip_rebuild
* Boolean indicating whether or not this save will result in the menu being
* rebuilt; if FALSE, your hook should not perform similar rebuild operations.
*
* @see commerce_custom_product_line_item_type_save()
*/
function hook_commerce_custom_product_line_item_type_insert($line_item_type, $skip_rebuild = FALSE) {
// No example.
}
/**
* Allows modules to react to the update of a product line item type.
*
* @param $line_item_type
* The product line item type info array.
* @param $skip_rebuild
* Boolean indicating whether or not this save will result in the menu being
* rebuilt; if FALSE, your hook should not perform similar rebuild operations.
*
* @see commerce_custom_product_line_item_type_save()
*/
function hook_commerce_custom_product_line_item_type_update($line_item_type, $skip_rebuild = FALSE) {
// No example.
}
/**
* Allows modules to react to the deletion of a product line item type.
*
* @param $line_item_type
* The product line item type info array.
*
* @see commerce_custom_product_line_item_type_delete()
*/
function hook_commerce_custom_product_line_item_type_delete($line_item_type) {
// No example
}