public function RestrictIpService::getCurrentUserIp in Restrict IP 8
Same name and namespace in other branches
- 8.2 src/Service/RestrictIpService.php \Drupal\restrict_ip\Service\RestrictIpService::getCurrentUserIp()
- 3.x src/Service/RestrictIpService.php \Drupal\restrict_ip\Service\RestrictIpService::getCurrentUserIp()
*
Overrides RestrictIpServiceInterface::getCurrentUserIp
1 call to RestrictIpService::getCurrentUserIp()
- RestrictIpService::testWhitelistedIp in src/
Service/ RestrictIpService.php - * Test an ip address to see if the current user should be whitelisted based on * that address. * *
File
- src/
Service/ RestrictIpService.php, line 175
Class
Namespace
Drupal\restrict_ip\ServiceCode
public function getCurrentUserIp() {
return $this->currentUserIp;
}