Needs review
Project:
Helper
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Mar 2026 at 17:46 UTC
Updated:
30 Mar 2026 at 08:33 UTC
Jump to comment: Most recent
- Create a service that logs out all users properly using hook_user_logout() and ensures the sessions table is truncated.
- Create a Drush command for `users:logout` that uses the service
Examples:
- https://git.drupalcode.org/project/cmm/-/blob/1.0.x/cmm.module?ref_type=...
- https://git.drupalcode.org/project/bmm/-/blob/8.x-1.x-dev/src/Drush/Comm...
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
dave reidComment #3
aayushpathak commentedworking on it !
Comment #5
aayushpathak commented