interface UserFloodControlInterface
Same name and namespace in other branches
- 9 core/modules/user/src/UserFloodControlInterface.php \Drupal\user\UserFloodControlInterface
- 11.x core/modules/user/src/UserFloodControlInterface.php \Drupal\user\UserFloodControlInterface
Defines an interface for user flood controllers.
Hierarchy
- interface \Drupal\Core\Flood\FloodInterface
- interface \Drupal\user\UserFloodControlInterface implements \Drupal\Core\Flood\FloodInterface
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\userView source
interface UserFloodControlInterface extends FloodInterface {
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
FloodInterface::clear | public | function | Makes the flood control mechanism forget an event for the current visitor. | 3 |
FloodInterface::garbageCollection | public | function | Cleans up expired flood events. | 3 |
FloodInterface::isAllowed | public | function | Checks whether a user is allowed to proceed with the specified event. | 3 |
FloodInterface::register | public | function | Registers an event for the current visitor to the flood control mechanism. | 3 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.