You are here

public function RestrictIpMapperInterface::saveWhitelistedIpAddresses in Restrict IP 8.2

Same name and namespace in other branches
  1. 8 src/Mapper/RestrictIpMapperInterface.php \Drupal\restrict_ip\Mapper\RestrictIpMapperInterface::saveWhitelistedIpAddresses()
  2. 3.x src/Mapper/RestrictIpMapperInterface.php \Drupal\restrict_ip\Mapper\RestrictIpMapperInterface::saveWhitelistedIpAddresses()

* Save whitelisted IP addresses to the database * *

Parameters

array $ip_addresses: * An array of IP addresses to be saved * @param bool $overwriteExisting * A boolean indicating whether existing IP addresses should be deleted before saving

1 method overrides RestrictIpMapperInterface::saveWhitelistedIpAddresses()
RestrictIpMapper::saveWhitelistedIpAddresses in src/Mapper/RestrictIpMapper.php
*

File

src/Mapper/RestrictIpMapperInterface.php, line 25

Class

RestrictIpMapperInterface

Namespace

Drupal\restrict_ip\Mapper

Code

public function saveWhitelistedIpAddresses(array $ip_addresses, $overwriteExisting = TRUE);