public function FloodInterface::garbageCollection in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Flood/FloodInterface.php \Drupal\Core\Flood\FloodInterface::garbageCollection()
Cleans up expired flood events. This method is called automatically on cron run.
See also
3 methods override FloodInterface::garbageCollection()
- DatabaseBackend::garbageCollection in core/
lib/ Drupal/ Core/ Flood/ DatabaseBackend.php - Cleans up expired flood events. This method is called automatically on cron run.
- MemoryBackend::garbageCollection in core/
lib/ Drupal/ Core/ Flood/ MemoryBackend.php - Cleans up expired flood events. This method is called automatically on cron run.
- UserFloodControl::garbageCollection in core/
modules/ user/ src/ UserFloodControl.php - Cleans up expired flood events. This method is called automatically on cron run.
File
- core/
lib/ Drupal/ Core/ Flood/ FloodInterface.php, line 69
Class
- FloodInterface
- Defines an interface for flood controllers.
Namespace
Drupal\Core\FloodCode
public function garbageCollection();