You are here

function linked_field_enable in Linked Field 7

Implements hook_enable().

2 calls to linked_field_enable()
linked_field_update_7001 in ./linked_field.install
Update module weight to run at last.
linked_field_update_7006 in ./linked_field.install
Update module weight to run at last.

File

./linked_field.install, line 11
Contains install and update functions for Linked Field.

Code

function linked_field_enable() {

  // We have to change the weight so we run at last.
  db_update('system')
    ->fields(array(
    'weight' => '100',
  ))
    ->condition('name', 'linked_field')
    ->execute();
}