You are here

function biblio_pm_set_system_weight in Bibliography Module 7

Same name and namespace in other branches
  1. 6.2 modules/pubmed/biblio_pm.install \biblio_pm_set_system_weight()
  2. 6 pubmed/biblio_pm.install \biblio_pm_set_system_weight()
  3. 7.2 modules/pubmed/biblio_pm.install \biblio_pm_set_system_weight()
1 call to biblio_pm_set_system_weight()
biblio_pm_enable in modules/pubmed/biblio_pm.install

File

modules/pubmed/biblio_pm.install, line 37
Database table creation for biblio_pm module.

Code

function biblio_pm_set_system_weight() {
  db_update('system')
    ->fields(array(
    'weight' => 19,
  ))
    ->condition('name', 'biblio_pm')
    ->execute();
}