You are here

public function RestrictIpMapperInterface::saveWhitelistedPaths in Restrict IP 8

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

* Save paths to be whitelisted to the database * *

Parameters

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

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

File

src/Mapper/RestrictIpMapperInterface.php, line 43

Class

RestrictIpMapperInterface

Namespace

Drupal\restrict_ip\Mapper

Code

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