public function NoreqnewpassFlood::noreqnewpassregister in No Request New Password 8
Implements Drupal\noreqnewpass\NoreqnewpassFlood::register().
File
- src/
Services/ NoreqnewpassFlood.php, line 42
Class
- NoreqnewpassFlood
- Defines the database flood backend. This is the default Drupal backend.
Namespace
Drupal\noreqnewpass\ServicesCode
public function noreqnewpassregister($name, $window = 3600, $identifier = NULL) {
$this->flood
->register($name, $window = 3600, $identifier);
}