function tripal_stock_install

2.x tripal_stock.install tripal_stock_install()
3.x tripal_stock.install tripal_stock_install()
1.x tripal_stock.install tripal_stock_install()

Implementation of hook_install().

File

tripal_stock/tripal_stock.install, line 12
Install the tripal stock module including it's content type

Code

function tripal_stock_install() {
  // create the module's data directory
  tripal_create_moddir('tripal_stock');

  // create the stock tables
  drupal_install_schema('tripal_stock');
}