field_test_install

7 field_test.install field_test_install()
8 field_test.install field_test_install()

Implements hook_install().

File

modules/field/tests/field_test.install, line 11
Install, update and uninstall functions for the field_test module.

Code

function field_test_install() {
  // hook_entity_info_alter() needs to be executed as last.
  db_update('system')
    ->fields(array('weight' => 1))
    ->condition('name', 'field_test')
    ->execute();
}
Login or register to post comments