public static function IPToolsInterface::validateIP in Restrict Login or Role Access by IP Address 8.4
Given a string, validate that it is valid IP address.
1 method overrides IPToolsInterface::validateIP()
- IPTools::validateIP in src/
IPTools.php - Given a string, validate that it is valid IP address.
File
- src/
IPToolsInterface.php, line 21
Class
- IPToolsInterface
- Interface IPToolsInterface.
Namespace
Drupal\restrict_by_ipCode
public static function validateIP($ip);