Defines an interface for flood controllers.
Hierarchy
- interface \Drupal\Core\Flood\FloodInterface
File
- core/lib/Drupal/Core/Flood/FloodInterface.php, line 8
Namespace
Drupal\Core\Flood
Members
Name | Modifiers | Type | Description |
---|---|---|---|
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. This method is called automatically on cron run. |
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. |
Please login to continue.