commerce_kickstart_product.install in Commerce Kickstart 7.2
File
modules/commerce_kickstart/commerce_kickstart_product/commerce_kickstart_product.installView source
<?php
/**
* Implements hook_enable().
*
* Rebuilds the feature immediately after it's enabled.
*/
function commerce_kickstart_product_enable() {
commerce_kickstart_rebuild_feature('commerce_kickstart_product');
}
/**
* Implements of hook_install()
*/
function commerce_kickstart_product_install() {
db_update('system')
->fields(array(
'weight' => 10,
))
->condition('name', 'commerce_kickstart_product')
->execute();
}
Functions
Name | Description |
---|---|
commerce_kickstart_product_enable | Implements hook_enable(). |
commerce_kickstart_product_install | Implements of hook_install() |