function tripal_analysis_install

2.x tripal_analysis.install tripal_analysis_install()
3.x tripal_analysis.install tripal_analysis_install()
1.x tripal_analysis.install tripal_analysis_install()

Implementation of hook_install().

File

tripal_analysis/tripal_analysis.install, line 10
Implements hooks from the Schema API

Code

function tripal_analysis_install() {

  // create the module's data directory
  tripal_create_moddir('tripal_analysis');

  // Use schema API to create database table.
  drupal_install_schema('tripal_analysis');

  // we may need the analysisfeatureprop table if it doesn't already exist
  tripal_analysis_create_analysisfeatureprop();

  // add cvterms
  tripal_analysis_add_cvterms();

  // add materialized views
  tripal_analysis_add_mview_analysis_organism();
}