function UserFloodControl::clear

Same name in other branches
  1. 9 core/modules/user/src/UserFloodControl.php \Drupal\user\UserFloodControl::clear()
  2. 11.x 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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.