public function RestrictIpMapper::getWhitelistedIpAddresses in Restrict IP 8
Same name and namespace in other branches
- 8.2 src/Mapper/RestrictIpMapper.php \Drupal\restrict_ip\Mapper\RestrictIpMapper::getWhitelistedIpAddresses()
- 3.x src/Mapper/RestrictIpMapper.php \Drupal\restrict_ip\Mapper\RestrictIpMapper::getWhitelistedIpAddresses()
*
Overrides RestrictIpMapperInterface::getWhitelistedIpAddresses
File
- src/
Mapper/ RestrictIpMapper.php, line 24
Class
Namespace
Drupal\restrict_ip\MapperCode
public function getWhitelistedIpAddresses() {
return $this->connection
->query('SELECT ip_address FROM {restrict_ip_whitelisted_ip_addresses} ORDER BY ip_address ASC')
->fetchCol();
}