function uc_product_node_type_update in Ubercart 8.4
Same name and namespace in other branches
- 7.3 uc_product/uc_product.module \uc_product_node_type_update()
Implements hook_node_type_update().
File
- uc_product/
uc_product.module, line 1002 - The product module for Ubercart.
Code
function uc_product_node_type_update(NodeTypeInterface $type) {
if (!$type->original
->getThirdPartySetting('uc_product', 'product', FALSE)) {
uc_product_node_type_insert($type);
}
}