public function SessionLimit::getMessageSeverity in Session Limit 2.x
Same name and namespace in other branches
- 8 src/Services/SessionLimit.php \Drupal\session_limit\Services\SessionLimit::getMessageSeverity()
 
Get the severity of the logout message to the user.
Return value
string
2 calls to SessionLimit::getMessageSeverity()
- SessionLimit::hasMessageSeverity in src/
Services/ SessionLimit.php  - return @bool
 - SessionLimit::sessionActiveDisconnect in src/
Services/ SessionLimit.php  - Disconnect the active session.
 
File
- src/
Services/ SessionLimit.php, line 508  
Class
Namespace
Drupal\session_limit\ServicesCode
public function getMessageSeverity() {
  return $this->configFactory
    ->get('session_limit.settings')
    ->get('session_limit_logged_out_message_severity');
}