You are here

public function UserFloodEvent::getThreshold in Drupal 9

Gets the threshold for the user flood event object.

Return value

int The threshold for the flood event.

File

core/modules/user/src/Event/UserFloodEvent.php, line 101

Class

UserFloodEvent
Provides a user flood event for event listeners.

Namespace

Drupal\user\Event

Code

public function getThreshold() {
  return $this->threshold;
}