You are here

public function FloodInterface::garbageCollection in Service Container 7

Same name and namespace in other branches
  1. 7.2 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

system_cron()

1 method overrides FloodInterface::garbageCollection()
LegacyBackend::garbageCollection in src/Flood/LegacyBackend.php
Implements Drupal\Core\Flood\FloodInterface::garbageCollection().

File

lib/Drupal/Core/Flood/FloodInterface.php, line 74
Contains \Drupal\Core\Flood\FloodInterface.

Class

FloodInterface
Defines an interface for flood controllers.

Namespace

Drupal\Core\Flood

Code

public function garbageCollection();