You are here

function user_modules_uninstalled in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/user/user.module \user_modules_uninstalled()

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);
}