public function IPToolsInterface::getUserIP in Restrict Login or Role Access by IP Address 8.4
Return the IP address of the current user using restrict_by_ip general settings.
1 method overrides IPToolsInterface::getUserIP()
- IPTools::getUserIP in src/
IPTools.php - Return the IP address of the current user using restrict_by_ip general settings.
File
- src/
IPToolsInterface.php, line 16
Class
- IPToolsInterface
- Interface IPToolsInterface.
Namespace
Drupal\restrict_by_ipCode
public function getUserIP();