function user_modules_uninstalled

user_modules_uninstalled($modules)

Implements hook_modules_uninstalled().

File

core/modules/user/user.module, line 1276
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);
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!user!user.module/function/user_modules_uninstalled/8.1.x