W3cubDocs

/Drupal 8

public function SessionManagerInterface::delete

public SessionManagerInterface::delete($uid)

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\Session

Code

public function delete($uid);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Session!SessionManagerInterface.php/function/SessionManagerInterface::delete/8.1.x