function tripal_feature_add_cvs
2.x tripal_feature.install | tripal_feature_add_cvs() |
3.x tripal_feature.install | tripal_feature_add_cvs() |
Add cvs related to publications
Related topics
1 call to tripal_feature_add_cvs()
- tripal_feature_install in tripal_feature/
tripal_feature.install - Implements hook_install().
File
- tripal_feature/
tripal_feature.install, line 312 - Installation of the feature module
Code
function tripal_feature_add_cvs() {
// Add cv for relationship types
tripal_insert_cv(
'feature_relationship',
'Contains types of relationships between features.'
);
// the feature_property CV already exists... it comes with chado, but we need to
// add it just in case it doesn't get added before the feature module is installed
tripal_insert_cv(
'feature_property',
'Stores properties about features'
);
// the feature type vocabulary should be the sequence ontology, and even though
// this ontology should get loaded we will create it here just so that we can
// set the default vocabulary for the feature.type_id field
tripal_insert_cv(
'sequence',
'The Sequence Ontology'
);
}