public function BanIpManagerInterface::isBanned in Drupal 9
Same name and namespace in other branches
- 8 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\banCode
public function isBanned($ip);