function UserFloodControl::register

Same name in other branches
  1. 9 core/modules/user/src/UserFloodControl.php \Drupal\user\UserFloodControl::register()
  2. 11.x core/modules/user/src/UserFloodControl.php \Drupal\user\UserFloodControl::register()

File

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

Class

UserFloodControl
User Flood Control service.

Namespace

Drupal\user

Code

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

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