function tripal_example_add_dbs
2.x tripal_example.install | tripal_example_add_dbs() |
Add cvs related to publications
1 call to tripal_example_add_dbs()
- tripal_example_install in tripal_example/
tripal_example.install - Implements hook_install().
File
- tripal_example/
tripal_example.install, line 200 - Installation of the example module
Code
function tripal_example_add_dbs() {
// EXPLANATION: use the tripal_insert_db() function to add any external
// databases needed by your module. If the database already exists then the
// function will gracefully return.
tripal_insert_db(array(
'name' => 'example_db',
'description' => 'An example database.'
));
}