function tripal_example_add_cvs

2.x tripal_example.install tripal_example_add_cvs()

Add cvs related to publications

1 call to tripal_example_add_cvs()

File

tripal_example/tripal_example.install, line 215
Installation of the example module

Code

function tripal_example_add_cvs() {

  // EXPLANATION: use the tripal_insert_cv() function to add any controlled
  // vocabularies needed by your module. If the vocabulary already exists then
  // the function will gracefully return. Chado conventions use a singular name
  // for CV names (not plural).

  tripal_insert_cv(
  'example_property', 
  'Contains property terms for examples.'
  );

  tripal_insert_cv(
  'example_type', 
  'Contains terms describing types of examples.'
  );

  tripal_insert_cv(
  'example_relationship', 
  'Contains terms for describing relationship types between examples.'
  );

}