You are here

function field_conditional_state_install in Field Conditional States 7.2

Same name and namespace in other branches
  1. 7 field_conditional_state.install \field_conditional_state_install()

Implements hook_install().

File

./field_conditional_state.install, line 11
Install function for the field_conditional_state module.

Code

function field_conditional_state_install() {

  // Set the module weight to 100.
  db_update('system')
    ->fields(array(
    'weight' => 100,
  ))
    ->condition('name', 'field_conditional_state')
    ->execute();
}