You are here

public function RestrictIpServiceInterface::getCurrentUserIp in Restrict IP 8

Same name and namespace in other branches
  1. 8.2 src/Service/RestrictIpServiceInterface.php \Drupal\restrict_ip\Service\RestrictIpServiceInterface::getCurrentUserIp()
  2. 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

RestrictIpServiceInterface

Namespace

Drupal\restrict_ip\Service

Code

public function getCurrentUserIp();