You are here

function ldap_user_update_8401 in Lightweight Directory Access Protocol (LDAP) 8.4

Ensure ldap_query dependency.

File

ldap_user/ldap_user.install, line 292

Code

function ldap_user_update_8401() {
  if (!\Drupal::service('module_handler')
    ->moduleExists('ldap_query')) {
    \Drupal::service('module_installer')
      ->install([
      'ldap_query',
    ]);
  }
}