function tripal_library_install

2.x tripal_library.install tripal_library_install()
3.x tripal_library.install tripal_library_install()
1.x tripal_library.install tripal_library_install()

Implementation of hook_install().

Related topics

File

tripal_library/tripal_library.install, line 49
Installation of the library module

Code

function tripal_library_install() {

  // add the materialized view
  tripal_library_add_mview_library_feature_count();

  // add cvterms
  tripal_library_add_cvs();
  tripal_library_add_cvterms();

  // set the default vocabularies
  tripal_set_default_cv('libraryprop', 'type_id', 'library_property');
  tripal_set_default_cv('library', 'type_id', 'library_type');
}