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