You are here

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

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

Set the message the user sees when their session is ended.

Parameters

string $message:

Return value

$this

File

src/Event/SessionLimitDisconnectEvent.php, line 93

Class

SessionLimitDisconnectEvent

Namespace

Drupal\session_limit\Event

Code

public function setMessage($message) {
  $this->message = $message;
  return $this;
}