civicrm_entity.install in CiviCRM Entity 7
Same filename and directory in other branches
Installation hooks for CiviCRM Entity.
File
civicrm_entity.installView source
<?php
/**
* @file
* Installation hooks for CiviCRM Entity.
*/
/**
* Implements hook_enable().
*
* Set weight higher than CiviCRM.
*
* @TODO Actually check what CiviCRM's weight should be.
*
* @TODO Shouldn't this be in .install?
*/
function civicrm_entity_enable() {
db_query("UPDATE {system} SET weight = 110 WHERE name = 'civicrm_entity'");
}
Functions
Name | Description |
---|---|
civicrm_entity_enable | Implements hook_enable(). |