You are here

public function SessionLimit::getCollisionBehaviour in Session Limit 2.x

Same name and namespace in other branches
  1. 8 src/Services/SessionLimit.php \Drupal\session_limit\Services\SessionLimit::getCollisionBehaviour()

Return value

int Will return one of the constants provided by getActions().

1 call to SessionLimit::getCollisionBehaviour()
SessionLimit::onSessionCollision in src/Services/SessionLimit.php
React to a collision event.

File

src/Services/SessionLimit.php, line 472

Class

SessionLimit

Namespace

Drupal\session_limit\Services

Code

public function getCollisionBehaviour() {
  return $this->configFactory
    ->get('session_limit.settings')
    ->get('session_limit_behaviour');
}