function UserFloodEvent::getThreshold
Same name in other branches
- 9 core/modules/user/src/Event/UserFloodEvent.php \Drupal\user\Event\UserFloodEvent::getThreshold()
- 10 core/modules/user/src/Event/UserFloodEvent.php \Drupal\user\Event\UserFloodEvent::getThreshold()
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.