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\EventCode
public function getThreshold() {
return $this->threshold;
}