You are here

function entityconnect_install in Entity connect 7

Same name and namespace in other branches
  1. 7.2 entityconnect.install \entityconnect_install()

Implements hook_install().

File

./entityconnect.install, line 83
Install, update & uninstall functions for the Entity Connect module.

Code

function entityconnect_install() {

  // We need to run after the workbench_email module so that our
  // entityconnect_return redirect works properly.
  db_update('system')
    ->fields(array(
    'weight' => 1,
  ))
    ->condition('name', 'entityconnect')
    ->condition('type', 'module')
    ->execute();
}