function BanIpManagerInterface::banIp
Bans an IP address.
Parameters
string $ip: The IP address to ban.
1 method overrides BanIpManagerInterface::banIp()
- BanIpManager::banIp in core/
modules/ ban/ src/ BanIpManager.php  - Bans an IP address.
 
File
- 
              core/
modules/ ban/ src/ BanIpManagerInterface.php, line 35  
Class
- BanIpManagerInterface
 - Provides an interface defining a BanIp manager.
 
Namespace
Drupal\banCode
public function banIp($ip);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.