You are here

public function AutologoutManagerInterface::logoutRole in Automated Logout 8

Helper to determine if a given user should be autologged out.

Parameters

\Drupal\user\UserInterface $user: User entity.

Return value

bool TRUE if the user should be autologged out, otherwise FALSE.

1 method overrides AutologoutManagerInterface::logoutRole()
AutologoutManager::logoutRole in src/AutologoutManager.php
Helper to determine if a given user should be autologged out.

File

src/AutologoutManagerInterface.php, line 85

Class

AutologoutManagerInterface
Interface for AutologoutManager.

Namespace

Drupal\autologout

Code

public function logoutRole(UserInterface $user);