function user_modules_uninstalled in Drupal 10
Same name and namespace in other branches
- 8 core/modules/user/user.module \user_modules_uninstalled()
- 7 modules/user/user.module \user_modules_uninstalled()
- 9 core/modules/user/user.module \user_modules_uninstalled()
Implements hook_modules_uninstalled().
File
- core/
modules/ user/ user.module, line 1104 - Enables the user registration and login system.
Code
function user_modules_uninstalled($modules) {
// Remove any potentially orphan module data stored for users.
\Drupal::service('user.data')
->delete($modules);
}