function hook_commerce_bpc_display_node_alter in Commerce Bulk Product Creation 7
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_commerce_bpc_display_node_alter()
- commerce_bpc_create_display_node in ./
commerce_bpc.forms.inc - Create a display node that links to a set of products.
File
- ./
commerce_bpc.api.php, line 361 - This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document hooks in the standard Drupal manner.
Code
function hook_commerce_bpc_display_node_alter(&$node) {
// TODO: Needs example implementation.
}