public function UserFloodControl::garbageCollection in Drupal 9
Cleans up expired flood events. This method is called automatically on cron run.
Overrides FloodInterface::garbageCollection
See also
File
- core/
modules/ user/ src/ UserFloodControl.php, line 94
Class
- UserFloodControl
- User Flood Control service.
Namespace
Drupal\userCode
public function garbageCollection() {
return $this->flood
->garbageCollection();
}