public function SessionLimit::hasMessageSeverity in Session Limit 8
Same name and namespace in other branches
- 2.x src/Services/SessionLimit.php \Drupal\session_limit\Services\SessionLimit::hasMessageSeverity()
return @bool
1 call to SessionLimit::hasMessageSeverity()
- SessionLimit::sessionDisconnect in src/
Services/ SessionLimit.php - Disconnect a sessionId.
File
- src/
Services/ SessionLimit.php, line 477
Class
Namespace
Drupal\session_limit\ServicesCode
public function hasMessageSeverity() {
$severity = $this
->getMessageSeverity();
return !empty($severity) && in_array($severity, [
'error',
'warning',
'status',
]);
}