You are here

public function AdvbanIpManagerInterface::isBanned in Advanced ban 8

Returns if this IP address is banned.

Parameters

string $ip: The IP address to check.

array $options: Options array.

Return value

bool|array TRUE if the IP address is banned, FALSE otherwise or result info array.

1 method overrides AdvbanIpManagerInterface::isBanned()
AdvbanIpManager::isBanned in src/AdvbanIpManager.php
Returns if this IP address is banned.

File

src/AdvbanIpManagerInterface.php, line 22

Class

AdvbanIpManagerInterface
Provides an interface defining a AdvbanIp manager.

Namespace

Drupal\advban

Code

public function isBanned($ip, array $options);