Defines an interface for flood controllers.
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. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Flood!FloodInterface.php/interface/FloodInterface/8.1.x