function civicrm_entity_enable in CiviCRM Entity 7.2
Same name and namespace in other branches
- 7 civicrm_entity.install \civicrm_entity_enable()
Implements hook_enable().
Set weight higher than CiviCRM.
@TODO Actually check what CiviCRM's weight should be.
File
- ./
civicrm_entity.install, line 29 - Installation/Un-installation hooks for CiviCRM Entity.
Code
function civicrm_entity_enable() {
db_query("UPDATE {system} SET weight = 110 WHERE name = 'civicrm_entity'");
}