public function RestrictIpService::userIsBlocked in Restrict IP 8
Same name and namespace in other branches
- 8.2 src/Service/RestrictIpService.php \Drupal\restrict_ip\Service\RestrictIpService::userIsBlocked()
- 3.x src/Service/RestrictIpService.php \Drupal\restrict_ip\Service\RestrictIpService::userIsBlocked()
*
Overrides RestrictIpServiceInterface::userIsBlocked
File
- src/
Service/ RestrictIpService.php, line 93
Class
Namespace
Drupal\restrict_ip\ServiceCode
public function userIsBlocked() {
if ($this
->allowAccessByPermission()) {
return FALSE;
}
return $this->blocked;
}