You are here

public function RestrictIpServiceInterface::saveWhitelistedPagePaths in Restrict IP 8.2

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

* Save whitelisted page paths to the system * *

Parameters

array $whitelistedPaths: * An array of paths to be saved for whitelisting. * @param bool $overwriteExisting * A boolean indicating whether existing paths should be deleted before saving

1 method overrides RestrictIpServiceInterface::saveWhitelistedPagePaths()
RestrictIpService::saveWhitelistedPagePaths in src/Service/RestrictIpService.php
*

File

src/Service/RestrictIpServiceInterface.php, line 92

Class

RestrictIpServiceInterface

Namespace

Drupal\restrict_ip\Service

Code

public function saveWhitelistedPagePaths(array $whitelistedPaths, $overwriteExisting = TRUE);