You are here

public function RestrictIpServiceInterface::saveWhitelistedIpAddresses in Restrict IP 8

Same name and namespace in other branches
  1. 8.2 src/Service/RestrictIpServiceInterface.php \Drupal\restrict_ip\Service\RestrictIpServiceInterface::saveWhitelistedIpAddresses()
  2. 3.x src/Service/RestrictIpServiceInterface.php \Drupal\restrict_ip\Service\RestrictIpServiceInterface::saveWhitelistedIpAddresses()

* Save whitelisted IP addresses to the system * *

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 RestrictIpServiceInterface::saveWhitelistedIpAddresses()
RestrictIpService::saveWhitelistedIpAddresses in src/Service/RestrictIpService.php
*

File

src/Service/RestrictIpServiceInterface.php, line 74

Class

RestrictIpServiceInterface

Namespace

Drupal\restrict_ip\Service

Code

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