You are here

public function RestrictIpMapperInterface::saveBlacklistedPaths in Restrict IP 8

Same name and namespace in other branches
  1. 8.2 src/Mapper/RestrictIpMapperInterface.php \Drupal\restrict_ip\Mapper\RestrictIpMapperInterface::saveBlacklistedPaths()
  2. 3.x src/Mapper/RestrictIpMapperInterface.php \Drupal\restrict_ip\Mapper\RestrictIpMapperInterface::saveBlacklistedPaths()

* Save paths to be blacklisted to the database * *

Parameters

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

1 method overrides RestrictIpMapperInterface::saveBlacklistedPaths()
RestrictIpMapper::saveBlacklistedPaths in src/Mapper/RestrictIpMapper.php
*

File

src/Mapper/RestrictIpMapperInterface.php, line 61

Class

RestrictIpMapperInterface

Namespace

Drupal\restrict_ip\Mapper

Code

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