You are here

public function SessionLimitDisconnectEvent::shouldPreventDisconnect in Session Limit 2.x

Same name and namespace in other branches
  1. 8 src/Event/SessionLimitDisconnectEvent.php \Drupal\session_limit\Event\SessionLimitDisconnectEvent::shouldPreventDisconnect()

Determine if the session disconnection should be prevented.

Return value

bool

File

src/Event/SessionLimitDisconnectEvent.php, line 74

Class

SessionLimitDisconnectEvent

Namespace

Drupal\session_limit\Event

Code

public function shouldPreventDisconnect() {
  return $this->preventDisconnect;
}