FloodInterface

Defines an interface for flood controllers.

Hierarchy

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.
doc_Drupal
2016-10-29 09:14:59
Comments
Leave a Comment

Please login to continue.