You are here

function merci_inventory_install in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.2

Same name and namespace in other branches
  1. 6.2 modules/merci_inventory/merci_inventory.install \merci_inventory_install()
  2. 6 modules/merci_inventory/merci_inventory.install \merci_inventory_install()

Implements hook_install().

File

modules/merci_inventory/merci_inventory.install, line 11
merci inventory install / uninstall

Code

function merci_inventory_install() {

  //module isn't enabled on install, calling this processes node_info so node types are created before processing create_content_types()

  //this keeps the content type tied to the module, but simplifies the process of adding fields
  drupal_load('module', 'merci_inventory');
  drupal_set_message(t('MERCI Inventory module successfully installed. merci_inventory and merci_inventory_master content types created.  Do not add nodes to merci_inventory_master content type.  Only use it to push CCK fields out to other MERCI managed content types.'));
}