function UserFloodEvent::getIp
Same name in other branches
- 9 core/modules/user/src/Event/UserFloodEvent.php \Drupal\user\Event\UserFloodEvent::getIp()
- 10 core/modules/user/src/Event/UserFloodEvent.php \Drupal\user\Event\UserFloodEvent::getIp()
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\EventCode
public function getIp() {
return $this->ip;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.