function UserFloodEvent::getWindow

Same name in other branches
  1. 9 core/modules/user/src/Event/UserFloodEvent.php \Drupal\user\Event\UserFloodEvent::getWindow()
  2. 10 core/modules/user/src/Event/UserFloodEvent.php \Drupal\user\Event\UserFloodEvent::getWindow()

Gets the window for the user flood event object.

Return value

int The window for the flood event.

File

core/modules/user/src/Event/UserFloodEvent.php, line 111

Class

UserFloodEvent
Provides a user flood event for event listeners.

Namespace

Drupal\user\Event

Code

public function getWindow() {
    return $this->window;
}

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