You are here

function loqate_update_8002 in Loqate 8

Same name and namespace in other branches
  1. 2.x loqate.install \loqate_update_8002()

Install new dependency on the key module.

File

./loqate.install, line 23
Contains loqate.install.

Code

function loqate_update_8002() {

  // All sites using this module up until now will need this update.
  \Drupal::service('module_installer')
    ->install([
    'key',
  ]);
  return t('Key installed.');
}