You are here

function entityreference_autofill_modules_enabled in Entity reference autofill 7

Implements hook_modules_enabled().

File

./entityreference_autofill.install, line 19
Install and update functions for the Entity reference autofill module.

Code

function entityreference_autofill_modules_enabled($modules) {
  if (in_array('entityreference_prepopulate', $modules)) {

    // Update module weight to let prioritize prepopulate.
    entityreference_autofill_set_module_weight();
  }
}