You are here

public function BanIpManagerInterface::isBanned in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/ban/src/BanIpManagerInterface.php \Drupal\ban\BanIpManagerInterface::isBanned()

Returns if this IP address is banned.

Parameters

string $ip: The IP address to check.

Return value

bool TRUE if the IP address is banned, FALSE otherwise.

1 method overrides BanIpManagerInterface::isBanned()
BanIpManager::isBanned in core/modules/ban/src/BanIpManager.php
Returns if this IP address is banned.

File

core/modules/ban/src/BanIpManagerInterface.php, line 19

Class

BanIpManagerInterface
Provides an interface defining a BanIp manager.

Namespace

Drupal\ban

Code

public function isBanned($ip);