public function SessionManagerInterface::delete in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Session/SessionManagerInterface.php \Drupal\Core\Session\SessionManagerInterface::delete()
- 9 core/lib/Drupal/Core/Session/SessionManagerInterface.php \Drupal\Core\Session\SessionManagerInterface::delete()
Ends a specific user's session(s).
Parameters
int $uid: User ID.
File
- core/
lib/ Drupal/ Core/ Session/ SessionManagerInterface.php, line 18
Class
- SessionManagerInterface
- Defines the session manager interface.
Namespace
Drupal\Core\SessionCode
public function delete($uid);