function UserHooks::modulesUninstalled

Implements hook_modules_uninstalled().

File

core/modules/user/src/Hook/UserHooks.php, line 349

Class

UserHooks
Hook implementations for user.

Namespace

Drupal\user\Hook

Code

public function modulesUninstalled($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.