function user_modules_uninstalled
Same name in other branches
- 7.x modules/user/user.module \user_modules_uninstalled()
- 9 core/modules/user/user.module \user_modules_uninstalled()
- 8.9.x core/modules/user/user.module \user_modules_uninstalled()
- 10 core/modules/user/user.module \user_modules_uninstalled()
Implements hook_modules_uninstalled().
File
-
core/
modules/ user/ user.module, line 1014
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.