UserEvents::FLOOD_BLOCKED_IP
Same name in other branches
- 9 core/modules/user/src/Event/UserEvents.php \Drupal\user\Event\UserEvents::FLOOD_BLOCKED_IP
- 10 core/modules/user/src/Event/UserEvents.php \Drupal\user\Event\UserEvents::FLOOD_BLOCKED_IP
The name of the event fired when a login is blocked by flood control.
This event allows modules to perform an action whenever flood control has been triggered by excessive login attempts from a particular IP. The event listener method receives a \Drupal\user\Event\UserFloodEvent instance.
@see: \Drupal\user\UserFloodControl::isAllowed @see: \Drupal\user\EventSubscriber\UserFloodSubscriber
Related topics
File
-
core/
modules/ user/ src/ Event/ UserEvents.php, line 41
Class
- UserEvents
- Defines events for the user module.
Namespace
Drupal\user\EventCode
const FLOOD_BLOCKED_IP = 'user.flood_blocked_ip';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.