You are here

function auto_nodetitle_install in Automatic Nodetitles 7

Same name and namespace in other branches
  1. 8 auto_nodetitle.install \auto_nodetitle_install()
  2. 5 auto_nodetitle.install \auto_nodetitle_install()
  3. 6 auto_nodetitle.install \auto_nodetitle_install()

Implements hook_install().

File

./auto_nodetitle.install, line 11
Installation file for the automatic nodetitle module.

Code

function auto_nodetitle_install() {
  db_update('system')
    ->fields(array(
    'weight' => 5,
  ))
    ->condition('name', 'auto_nodetitle', '=')
    ->execute();
}