You are here

public function UserFloodControl::clear in Drupal 10

Same name and namespace in other branches
  1. 9 core/modules/user/src/UserFloodControl.php \Drupal\user\UserFloodControl::clear()

File

core/modules/user/src/UserFloodControl.php, line 87

Class

UserFloodControl
User Flood Control service.

Namespace

Drupal\user

Code

public function clear($name, $identifier = NULL) {
  return $this->flood
    ->clear($name, $identifier);
}