BanIpManagerInterface::isBanned

public BanIpManagerInterface::isBanned($ip)

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.

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);
doc_Drupal
2016-10-29 08:45:30
Comments
Leave a Comment

Please login to continue.