function user_modules_uninstalled

Same name in other branches
  1. 7.x modules/user/user.module \user_modules_uninstalled()
  2. 9 core/modules/user/user.module \user_modules_uninstalled()
  3. 10 core/modules/user/user.module \user_modules_uninstalled()
  4. 11.x core/modules/user/user.module \user_modules_uninstalled()

Implements hook_modules_uninstalled().

File

core/modules/user/user.module, line 1365

Code

function user_modules_uninstalled($modules) {
    // Remove any potentially orphan module data stored for users.
    \Drupal::service('user.data')->delete($modules);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.