interface UserFloodControlInterface

Same name and namespace in other branches
  1. 11.x core/modules/user/src/UserFloodControlInterface.php \Drupal\user\UserFloodControlInterface

Defines an interface for user flood controllers.

Hierarchy

Expanded class hierarchy of UserFloodControlInterface

All classes that implement UserFloodControlInterface

2 files declare their use of UserFloodControlInterface
UserAuthenticationController.php in core/modules/user/src/Controller/UserAuthenticationController.php
UserLoginForm.php in core/modules/user/src/Form/UserLoginForm.php

File

core/modules/user/src/UserFloodControlInterface.php, line 10

Namespace

Drupal\user
View source
interface UserFloodControlInterface extends FloodInterface {

}

Members

Title Sort descending Modifiers Object type Summary
FloodInterface::clear public function Makes the flood control mechanism forget an event for the current visitor.
FloodInterface::garbageCollection public function Cleans up expired flood events.
FloodInterface::isAllowed public function Checks whether a user is allowed to proceed with the specified event.
FloodInterface::register public function Registers an event for the current visitor to the flood control mechanism.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.