You are here

public function UserFloodEvent::getIp in Drupal 9

Gets the IP of the user flood event object.

Return value

string The IP of the flood event.

File

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

Class

UserFloodEvent
Provides a user flood event for event listeners.

Namespace

Drupal\user\Event

Code

public function getIp() {
  return $this->ip;
}