You are here

public function RestrictIpServiceInterface::saveBlacklistedPagePaths in Restrict IP 8

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

* Save blacklisted page paths to the system * *

Parameters

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

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

File

src/Service/RestrictIpServiceInterface.php, line 110

Class

RestrictIpServiceInterface

Namespace

Drupal\restrict_ip\Service

Code

public function saveBlacklistedPagePaths(array $blacklistedPaths, $overwriteExisting = TRUE);