You are here

public function SessionManagerInterface::delete in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Session/SessionManagerInterface.php \Drupal\Core\Session\SessionManagerInterface::delete()

Ends a specific user's session(s).

Parameters

int $uid: User ID.

1 method overrides SessionManagerInterface::delete()
SessionManager::delete in core/lib/Drupal/Core/Session/SessionManager.php
Ends a specific user's session(s).

File

core/lib/Drupal/Core/Session/SessionManagerInterface.php, line 18

Class

SessionManagerInterface
Defines the session manager interface.

Namespace

Drupal\Core\Session

Code

public function delete($uid);