function _commerce_autosku_is_temporary_sku in Commerce AutoSKU 7
Check to see if a given SKU is one we generated.
2 calls to _commerce_autosku_is_temporary_sku()
- commerce_autosku_commerce_product_insert in ./
commerce_autosku.commerce.inc - Implements hook_commerce_product_insert().
- commerce_autosku_commerce_product_presave in ./
commerce_autosku.commerce.inc - Implements hook_commerce_product_presave().
File
- ./
commerce_autosku.module, line 184 - Module hooks and helper functions for commerce_autosku
Code
function _commerce_autosku_is_temporary_sku($sku) {
return substr($sku, 0, 10) == 'temporary:';
}