You are here

function formdefaults_install in Form Defaults 7

Same name and namespace in other branches
  1. 8 formdefaults.install \formdefaults_install()
  2. 5.3 formdefaults.install \formdefaults_install()
  3. 5 formdefaults.install \formdefaults_install()
  4. 5.2 formdefaults.install \formdefaults_install()
  5. 6.2 formdefaults.install \formdefaults_install()
  6. 6 formdefaults.install \formdefaults_install()

@file Installation

File

./formdefaults.install, line 6
Installation

Code

function formdefaults_install() {
  db_update('system')
    ->fields(array(
    'weight' => 20,
  ))
    ->condition('name', 'formdefaults', '=')
    ->execute();
}