You are here

public function BanIpManagerInterface::isBanned in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 24
Contains \Drupal\ban\BanIpManagerInterface.

Class

BanIpManagerInterface
Provides an interface defining a BanIp manager.

Namespace

Drupal\ban

Code

public function isBanned($ip);