You are here

constant UserEvents::FLOOD_BLOCKED_USER in Drupal 10

Same name and namespace in other branches
  1. 9 core/modules/user/src/Event/UserEvents.php \Drupal\user\Event\UserEvents::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.

@see: \Drupal\user\UserFloodControl::isAllowed @see: \Drupal\user\EventSubscriber\UserFloodSubscriber

Related topics

File

core/modules/user/src/Event/UserEvents.php, line 25

Class

UserEvents
Defines events for the user module.

Namespace

Drupal\user\Event

Code

const FLOOD_BLOCKED_USER = 'user.flood_blocked_user';