function field_test_install in SimpleTest 7
Implement hook_install().
File
- 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();
}