You are here

function state_flow_install in State Machine 6

Same name and namespace in other branches
  1. 7 modules/state_flow/state_flow.install \state_flow_install()
  2. 7.2 modules/state_flow/state_flow.install \state_flow_install()

Implementation of hook_install().

File

modules/state_flow/state_flow.install, line 14
Install file for the state flow module.

Code

function state_flow_install() {

  // Create tables.
  drupal_install_schema('state_flow');
  db_query("UPDATE {system} SET weight = 5 WHERE name = 'state_flow'");
}