You are here

public function RestrictIpService::saveWhitelistedPagePaths in Restrict IP 8

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

*

Overrides RestrictIpServiceInterface::saveWhitelistedPagePaths

File

src/Service/RestrictIpService.php, line 219

Class

RestrictIpService

Namespace

Drupal\restrict_ip\Service

Code

public function saveWhitelistedPagePaths(array $whitelistedPaths, $overwriteExisting = TRUE) {
  $this->mapper
    ->saveWhitelistedPaths($whitelistedPaths, $overwriteExisting);
}