final class UserEvents (View source)

Defines events for the user module.

Constants

FLOOD_BLOCKED_USER

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 for a particular user account. The event listener method receives a \Drupal\user\Event\UserFloodEvent instance.

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.