function tripal_pub_enable
2.x tripal_pub.install | tripal_pub_enable() |
3.x tripal_pub.install | tripal_pub_enable() |
1.x tripal_pub.install | tripal_pub_enable() |
File
- tripal_pub/
tripal_pub.install, line 35 - This file contains all the functions which describe and implement drupal database tables needed by this module. This module was developed by Chad N.A. Krilow and Lacey-Anne Sanderson, University of Saskatchewan.
Code
function tripal_pub_enable() {
// make sure we have our supported databases
tripal_db_add_db('PMID', 'PubMed', 'http://www.ncbi.nlm.nih.gov/pubmed', 'http://www.ncbi.nlm.nih.gov/pubmed/', TRUE);
tripal_db_add_db('AGL', 'USDA National Agricultural Library', 'http://agricola.nal.usda.gov/', '', TRUE);
variable_set('tripal_pub_supported_dbs', array('PMID', 'AGL'));
}