You are here

public function BanIpManagerInterface::banIp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/ban/src/BanIpManagerInterface.php \Drupal\ban\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 40
Contains \Drupal\ban\BanIpManagerInterface.

Class

BanIpManagerInterface
Provides an interface defining a BanIp manager.

Namespace

Drupal\ban

Code

public function banIp($ip);