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().

Related topics

File

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

Code

function tripal_stock_install() {
  // set the default vocabularies
  tripal_set_default_cv('stock', 'type_id', 'stock_type');
  tripal_set_default_cv('stockprop', 'type_id', 'stock_property');
  tripal_set_default_cv('stock_relationship', 'type_id', 'stock_relationship');

  // add the materialized view
  tripal_stock_add_organism_count_mview();
}