function user_delete_multiple in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/user/user.module \user_delete_multiple()
Delete multiple user accounts.
Parameters
int[] $uids: An array of user IDs.
See also
2 calls to user_delete_multiple()
- UserDeleteTest::testUserDeleteMultiple in core/
modules/ user/ src/ Tests/ UserDeleteTest.php - Test deleting multiple users.
- user_delete in core/
modules/ user/ user.module - Delete a user.
File
- core/
modules/ user/ user.module, line 855 - Enables the user registration and login system.
Code
function user_delete_multiple(array $uids) {
entity_delete_multiple('user', $uids);
}