You are here

function arrange_fields_install in Arrange Fields 6

Same name and namespace in other branches
  1. 7 arrange_fields.install \arrange_fields_install()

Implementation of hook_install. All we really need from this is to make sure that the module's weight is higher than CCK's, or else all kinds of problems will happen when we go to do hook_form_alter.

File

./arrange_fields.install, line 11

Code

function arrange_fields_install() {
  db_query("UPDATE {system} SET weight = 500 WHERE name = 'arrange_fields'");
}