public function RestrictIpServiceInterface::getCurrentUserIp in Restrict IP 8
Same name and namespace in other branches
- 8.2 src/Service/RestrictIpServiceInterface.php \Drupal\restrict_ip\Service\RestrictIpServiceInterface::getCurrentUserIp()
- 3.x src/Service/RestrictIpServiceInterface.php \Drupal\restrict_ip\Service\RestrictIpServiceInterface::getCurrentUserIp()
* Get the IP address of the current user * *
Return value
string * The IP address of the current user
1 method overrides RestrictIpServiceInterface::getCurrentUserIp()
- RestrictIpService::getCurrentUserIp in src/
Service/ RestrictIpService.php - *
File
- src/
Service/ RestrictIpServiceInterface.php, line 48
Class
Namespace
Drupal\restrict_ip\ServiceCode
public function getCurrentUserIp();