You are here

public function RestrictIpService::saveBlacklistedPagePaths in Restrict IP 8

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

*

Overrides RestrictIpServiceInterface::saveBlacklistedPagePaths

File

src/Service/RestrictIpService.php, line 237

Class

RestrictIpService

Namespace

Drupal\restrict_ip\Service

Code

public function saveBlacklistedPagePaths(array $blacklistedPaths, $overwriteExisting = TRUE) {
  $this->mapper
    ->saveBlacklistedPaths($blacklistedPaths, $overwriteExisting);
}