public function RestrictIpService::getWhitelistedPagePaths in Restrict IP 8
Same name and namespace in other branches
- 8.2 src/Service/RestrictIpService.php \Drupal\restrict_ip\Service\RestrictIpService::getWhitelistedPagePaths()
- 3.x src/Service/RestrictIpService.php \Drupal\restrict_ip\Service\RestrictIpService::getWhitelistedPagePaths()
*
Overrides RestrictIpServiceInterface::getWhitelistedPagePaths
1 call to RestrictIpService::getWhitelistedPagePaths()
- RestrictIpService::allowAccessWhitelistedPath in src/
Service/ RestrictIpService.php - * Test if the current path is allowed based on whitelist settings
File
- src/
Service/ RestrictIpService.php, line 209
Class
Namespace
Drupal\restrict_ip\ServiceCode
public function getWhitelistedPagePaths() {
$whitelisted_paths = $this->mapper
->getWhitelistedPaths();
return is_array($whitelisted_paths) ? $whitelisted_paths : [];
}