function commerce_backoffice_product_enable in Commerce Backoffice 7
Implements hook_enable().
File
- ./
commerce_backoffice_product.install, line 6
Code
function commerce_backoffice_product_enable() {
// This module needs to run after commerce_product_ui.
db_update('system')
->fields(array(
'weight' => 10,
))
->condition('type', 'module')
->condition('name', 'commerce_backoffice_product')
->execute();
}