function hook_bpc_display_node_alter in Commerce Bulk Product Creation 7.2
Perform alterations on an auto-created display node, before it is saved.
Parameters
object $node: The initialized display node object, with its product reference field set to the newly created products.
1 invocation of hook_bpc_display_node_alter()
- bpc_display_create_node in modules/
bpc_display/ bpc_display.module - Create a display node that links to a set of products.
File
- modules/
bpc_display/ bpc_display.api.php, line 15 - Hook definitions for the Commerce BPC display node module.
Code
function hook_bpc_display_node_alter(&$node) {
// TODO: Needs example implementation.
}